Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001283/0.001283, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001539/0.001539, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.173/3.173, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8776 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.523e-05/3.703e-05, allocations: 2.312 kB / 0.8776 GB, free: 5.352 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.004209/0.004246, allocations: 1.459 MB / 0.879 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.005629, allocations: 485.7 kB / 0.8795 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.005685, allocations: 1.156 kB / 0.8795 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.005722, allocations: 0 / 0.8795 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.005831, allocations: 9.688 kB / 0.8795 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.006161, allocations: 18.95 kB / 0.8795 GB, free: 3.414 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.00627, allocations: 28.25 kB / 0.8795 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.006401, allocations: 7.984 kB / 0.8795 GB, free: 3.379 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.006518, allocations: 19.86 kB / 0.8796 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.006571, allocations: 12.48 kB / 0.8796 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.00659, allocations: 1.719 kB / 0.8796 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.006679, allocations: 8 kB / 0.8796 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.006715, allocations: 15.92 kB / 0.8796 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.006748, allocations: 0 / 0.8796 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.006916, allocations: 39.88 kB / 0.8796 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.006919, allocations: 1.344 kB / 0.8796 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006921, allocations: 0 / 0.8796 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.006925, allocations: 0 / 0.8796 GB, free: 3.285 MB / 0.7917 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.0006087/0.007534, allocations: 267 kB / 0.8799 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.007586, allocations: 8.031 kB / 0.8799 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.007904, allocations: 14.52 kB / 0.8799 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.008069, allocations: 117.8 kB / 0.88 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.008085, allocations: 384 / 0.88 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.008101, allocations: 12.25 kB / 0.88 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.008319, allocations: 56.22 kB / 0.8801 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.00833, allocations: 192 / 0.8801 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.008342, allocations: 384 / 0.8801 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.008353, allocations: 3.938 kB / 0.8801 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.008549, allocations: 42.48 kB / 0.8801 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.009002, allocations: 196.6 kB / 0.8803 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.009165, allocations: 42.5 kB / 0.8804 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.009266, allocations: 21.62 kB / 0.8804 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.009293, allocations: 4 kB / 0.8804 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.00933, allocations: 39.83 kB / 0.8804 GB, free: 2.375 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 4.929e-06/0.009335, allocations: 3.984 kB / 0.8804 GB, free: 2.371 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.000422/0.009757, allocations: 89.64 kB / 0.8805 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.009814, allocations: 59.34 kB / 0.8806 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.01017, allocations: 97.86 kB / 0.8807 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.01019, allocations: 29.7 kB / 0.8807 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.01026, allocations: 84.12 kB / 0.8808 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.01028, allocations: 3.953 kB / 0.8808 GB, free: 1.977 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.01032, allocations: 17.72 kB / 0.8808 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.0105, allocations: 310.8 kB / 0.8811 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.01061, allocations: 24.11 kB / 0.8811 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.01068, allocations: 15.98 kB / 0.8811 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.01087, allocations: 44.83 kB / 0.8812 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01087, allocations: 0 / 0.8812 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002324/0.01111, allocations: 73.61 kB / 0.8812 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.01113, allocations: 19.97 kB / 0.8813 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01113, allocations: 0 / 0.8813 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.01115, allocations: 0 / 0.8813 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.01128, allocations: 12.23 kB / 0.8813 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01129, allocations: 0 / 0.8813 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.01137, allocations: 11.98 kB / 0.8813 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.01137, allocations: 0 / 0.8813 GB, free: 1.434 MB / 0.7917 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.0001035/0.01148, allocations: 109.8 kB / 0.8814 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.01151, allocations: 7.938 kB / 0.8814 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.01155, allocations: 11.31 kB / 0.8814 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01155, allocations: 3.938 kB / 0.8814 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01156, allocations: 0 / 0.8814 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.01156, allocations: 4 kB / 0.8814 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.01172, allocations: 109.3 kB / 0.8815 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01172, allocations: 0 / 0.8815 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.01183, allocations: 11.98 kB / 0.8815 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01184, allocations: 0 / 0.8815 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01185, allocations: 3.938 kB / 0.8815 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01185, allocations: 0 / 0.8815 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01185, allocations: 4 kB / 0.8815 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.01216, allocations: 175.4 kB / 0.8817 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.01218, allocations: 8 kB / 0.8817 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.01219, allocations: 7.922 kB / 0.8817 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.0123, allocations: 4 kB / 0.8817 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.01234, allocations: 3.984 kB / 0.8817 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.01235, allocations: 0 / 0.8817 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.01241, allocations: 83.28 kB / 0.8818 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.01241, allocations: 4.031 kB / 0.8818 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002323/0.01264, allocations: 8 kB / 0.8818 GB, free: 0.8281 MB / 0.7917 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.0001513/0.01279, allocations: 91.25 kB / 0.8819 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.01303, allocations: 43.95 kB / 0.882 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01303, allocations: 0 / 0.882 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.01313, allocations: 23.92 kB / 0.882 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.01345, allocations: 14.17 kB / 0.882 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.01383, allocations: 108.8 kB / 0.8821 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.161e-05/0.0139, allocations: 59.36 kB / 0.8821 GB, free: 448 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 4.658e-05/0.01395, allocations: 7.984 kB / 0.8822 GB, free: 440 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.01399, allocations: 12.5 kB / 0.8822 GB, free: 428 kB / 0.7917 GB Notification: Performance of SimCode: time 3.61e-07/0.01399, allocations: 0 / 0.8822 GB, free: 428 kB / 0.7917 GB Notification: Performance of Templates: time 0.003365/0.01736, allocations: 0.6113 MB / 0.8828 GB, free: 15.81 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.846491519943811]