Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 102 kB / 16.4 MB, free: 6.461 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.001438/0.001439, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8623/0.8638, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001746/0.8656, allocations: 0.6144 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.8675, allocations: 1.388 MB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.8675, allocations: 4.812 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.799e-05/0.8676, allocations: 1.094 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.8676, allocations: 2.266 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007814/0.8684, allocations: 176.5 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.8686, allocations: 52.86 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.8686, allocations: 6.094 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.559e-05/0.8687, allocations: 21.11 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.8687, allocations: 28.77 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.8688, allocations: 3.188 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.8691, allocations: 196.6 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.8692, allocations: 13.73 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.8693, allocations: 29.17 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.8696, allocations: 186.9 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8696, allocations: 1.094 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8696, allocations: 0 / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8696, allocations: 0 / 1.091 GB, free: 3.926 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004008/0.87, allocations: 448.4 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.8701, allocations: 13.28 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.8701, allocations: 8.156 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/0.8702, allocations: 170.2 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.8702, allocations: 6.094 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.8703, allocations: 3.25 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.8705, allocations: 98.02 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.8705, allocations: 0 / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.8705, allocations: 1.359 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.8705, allocations: 4.688 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.8706, allocations: 63.97 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.8708, allocations: 175.6 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.8709, allocations: 77.42 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.871, allocations: 70.02 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.871, allocations: 1.453 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.8711, allocations: 39.22 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.8711, allocations: 0.7188 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000457/0.8715, allocations: 256.8 kB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.8716, allocations: 79.58 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.8717, allocations: 143.1 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.8717, allocations: 27.08 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.8718, allocations: 97.3 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.8718, allocations: 10.78 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.8719, allocations: 28.58 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.8719, allocations: 323 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.8721, allocations: 105.4 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.8723, allocations: 106.3 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.8726, allocations: 274.1 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8726, allocations: 0 / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004336/0.873, allocations: 327.9 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/0.8731, allocations: 71.7 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.8731, allocations: 1.609 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.8731, allocations: 0.8125 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.8732, allocations: 4.062 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8732, allocations: 0.8438 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.8734, allocations: 10.78 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.8734, allocations: 3.812 kB / 1.094 GB, free: 1.789 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 9.528e-05/0.8735, allocations: 152.3 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.8735, allocations: 11.55 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.8735, allocations: 10.75 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8735, allocations: 0.7812 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8735, allocations: 4.797 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8736, allocations: 0.6875 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.608e-05/0.8737, allocations: 183.7 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.8737, allocations: 1.031 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.8737, allocations: 4.5 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8737, allocations: 0.875 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.8737, allocations: 2.234 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8737, allocations: 0.8438 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8737, allocations: 0 / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.874, allocations: 233.3 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.8741, allocations: 91.17 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.8741, allocations: 2.438 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.733e-05/0.8741, allocations: 4.344 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.8742, allocations: 11.16 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.8742, allocations: 2.219 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.424e-05/0.8743, allocations: 103.5 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8743, allocations: 0.9375 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004117/0.8747, allocations: 65.84 kB / 1.095 GB, free: 1.086 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000303/0.875, allocations: 150.8 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.8755, allocations: 376.6 kB / 1.096 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8755, allocations: 0 / 1.096 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.8757, allocations: 138.3 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.8759, allocations: 9.625 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.8763, allocations: 235.5 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.8765, allocations: 0.695 MB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.05e-05/0.8765, allocations: 8.938 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.8765, allocations: 0 / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.004361/0.8809, allocations: 1.666 MB / 1.098 GB, free: 15.71 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches