Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 164.6 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.81/2.81, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.674e-05/3.892e-05, allocations: 8.469 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003222/0.003261, allocations: 1.464 MB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.004288, allocations: 483.4 kB / 0.9529 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.004334, allocations: 4 kB / 0.9529 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.004364, allocations: 0 / 0.9529 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.004437, allocations: 7.875 kB / 0.9529 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.004756, allocations: 23.95 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.004873, allocations: 19.94 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.005021, allocations: 11.98 kB / 0.9529 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.005168, allocations: 23.86 kB / 0.953 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.005215, allocations: 4 kB / 0.953 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.005235, allocations: 0 / 0.953 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.005343, allocations: 23.97 kB / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.005364, allocations: 0 / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.005393, allocations: 4 kB / 0.953 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.005567, allocations: 43.81 kB / 0.953 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.00557, allocations: 0 / 0.953 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005572, allocations: 0 / 0.953 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.005577, allocations: 0 / 0.953 GB, free: 9.449 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006486/0.006226, allocations: 274.3 kB / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.00627, allocations: 8.031 kB / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.006308, allocations: 8.891 kB / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.00645, allocations: 101.8 kB / 0.9534 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.006462, allocations: 4.375 kB / 0.9534 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.006483, allocations: 4.359 kB / 0.9534 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.006694, allocations: 50.19 kB / 0.9535 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.006706, allocations: 192 / 0.9535 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.006715, allocations: 384 / 0.9535 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.006723, allocations: 7.938 kB / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.006903, allocations: 35.95 kB / 0.9535 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.007278, allocations: 192.6 kB / 0.9537 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.007414, allocations: 38.5 kB / 0.9537 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.007506, allocations: 24.91 kB / 0.9537 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.007608, allocations: 7.984 kB / 0.9537 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.007645, allocations: 38.44 kB / 0.9538 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.007646, allocations: 4 kB / 0.9538 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003968/0.008043, allocations: 85.58 kB / 0.9539 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.008089, allocations: 51.41 kB / 0.9539 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.008196, allocations: 101.9 kB / 0.954 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.008216, allocations: 25.7 kB / 0.954 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.008273, allocations: 88.08 kB / 0.9541 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.008298, allocations: 15.89 kB / 0.9541 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.008331, allocations: 13.84 kB / 0.9542 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.008488, allocations: 310.8 kB / 0.9545 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/0.00858, allocations: 19.98 kB / 0.9545 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.008656, allocations: 15.97 kB / 0.9545 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.008818, allocations: 40.83 kB / 0.9545 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00882, allocations: 0 / 0.9545 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000212/0.009032, allocations: 69.72 kB / 0.9546 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.009051, allocations: 7.938 kB / 0.9546 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.009055, allocations: 0 / 0.9546 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.009075, allocations: 0 / 0.9546 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.009174, allocations: 15.92 kB / 0.9546 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.00918, allocations: 0 / 0.9546 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.009229, allocations: 4 kB / 0.9546 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.009235, allocations: 256 / 0.9546 GB, free: 7.645 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.009341, allocations: 121.8 kB / 0.9547 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.009367, allocations: 3.938 kB / 0.9547 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.00962, allocations: 72.97 kB / 0.9548 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.009626, allocations: 4 kB / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.00963, allocations: 0 / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.009633, allocations: 0 / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.009788, allocations: 105.3 kB / 0.9549 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00979, allocations: 0 / 0.9549 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.009852, allocations: 12.03 kB / 0.9549 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.009858, allocations: 3.984 kB / 0.9549 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.00987, allocations: 3.938 kB / 0.9549 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.009872, allocations: 0 / 0.9549 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009873, allocations: 0 / 0.9549 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.01017, allocations: 171.4 kB / 0.9551 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.01018, allocations: 3.984 kB / 0.9551 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.01019, allocations: 7.875 kB / 0.9551 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/0.01028, allocations: 8.031 kB / 0.9551 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.01033, allocations: 3.984 kB / 0.9551 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.01033, allocations: 4 kB / 0.9551 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.29e-05/0.01039, allocations: 83.28 kB / 0.9552 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01039, allocations: 3.938 kB / 0.9552 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002269/0.01061, allocations: 4 kB / 0.9552 GB, free: 6.977 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002118/0.01082, allocations: 99.23 kB / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.01106, allocations: 43.91 kB / 0.9553 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01106, allocations: 0 / 0.9553 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.01116, allocations: 23.97 kB / 0.9554 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.01147, allocations: 4 kB / 0.9554 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.01182, allocations: 108.8 kB / 0.9555 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.915e-05/0.01189, allocations: 59.34 kB / 0.9555 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.01192, allocations: 0 / 0.9555 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.01195, allocations: 12.62 kB / 0.9555 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.01195, allocations: 4 kB / 0.9555 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of Templates: time 0.003781/0.01573, allocations: 0.6118 MB / 0.9561 GB, free: 5.98 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9129390232265]