Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 111.5 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.00133, allocations: 185.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.639/2.639, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 63.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.944/0.9456, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002167/0.9478, allocations: 0.5957 MB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.9497, allocations: 1.112 MB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.9497, allocations: 0 / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.9498, allocations: 0 / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.95, allocations: 15.94 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.418e-06/0.9501, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.037e-05/0.9501, allocations: 11.92 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.9502, allocations: 3.984 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.737e-05/0.9502, allocations: 3.938 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.409e-05/0.9502, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.9502, allocations: 8 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.9504, allocations: 19.98 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/0.9504, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.9504, allocations: 11.86 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.855e-05/0.9505, allocations: 7.984 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.9505, allocations: 0 / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9505, allocations: 0 / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9506, allocations: 0 / 1.21 GB, free: 11.82 MB / 0.9356 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.0003366/0.9509, allocations: 323.6 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.9509, allocations: 8.031 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.951, allocations: 4.938 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.9511, allocations: 160.4 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.9511, allocations: 4.375 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.9512, allocations: 384 / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.9513, allocations: 45.98 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9513, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.9514, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.9514, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.9514, allocations: 7.938 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.9516, allocations: 157.7 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.9518, allocations: 34.61 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.9519, allocations: 12.8 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.9521, allocations: 85.19 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.9521, allocations: 38.44 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.9521, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.004967/0.9571, allocations: 0.5752 MB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.9572, allocations: 51.41 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.9572, allocations: 93.8 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.9572, allocations: 33.7 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.9573, allocations: 80.14 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.9573, allocations: 11.8 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.9574, allocations: 21.7 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.9576, allocations: 318.8 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.9582, allocations: 79.95 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.9588, allocations: 102.5 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.96, allocations: 194.4 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.96, allocations: 0 / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0013/0.9613, allocations: 213.5 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.9614, allocations: 4 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9614, allocations: 4 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.9614, allocations: 4.031 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.9618, allocations: 47.97 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.9619, allocations: 4.188 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.9622, allocations: 43.97 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.9622, allocations: 8 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001063/0.9624, allocations: 105.8 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.9624, allocations: 11.84 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.9642, allocations: 237 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.9642, allocations: 0 / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.9642, allocations: 4 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9643, allocations: 4 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.9664, allocations: 454.4 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.9664, allocations: 0 / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.967, allocations: 47.97 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.967, allocations: 0 / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.967, allocations: 4.406 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.9671, allocations: 4 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9671, allocations: 0 / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.9688, allocations: 303.4 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.9689, allocations: 85.05 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.969, allocations: 4 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.9695, allocations: 39.97 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.9696, allocations: 7.984 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.9696, allocations: 3.938 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.637e-05/0.9696, allocations: 75.28 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9696, allocations: 3.938 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004117/0.9701, allocations: 12 kB / 1.214 GB, free: 7.359 MB / 0.9356 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 (5): * Single equations (assignments): 5 * 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.0002268/0.9703, allocations: 109.1 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.9721, allocations: 183.9 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9721, allocations: 0 / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007712/0.9729, allocations: 92.2 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.9732, allocations: 4 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.9747, allocations: 246.6 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.9751, allocations: 0.6768 MB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.9752, allocations: 11.44 kB / 1.215 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.9752, allocations: 0 / 1.215 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.003444/0.9787, allocations: 1.115 MB / 1.217 GB, free: 4.875 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches