Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 103.5 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 443.4 MB / 0.7286 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.89 kB / 1.056 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8733/0.8753, allocations: 160.7 MB / 1.213 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002043/0.8774, allocations: 0.6187 MB / 1.214 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.8796, allocations: 1.381 MB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.8796, allocations: 4 kB / 1.215 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.025e-05/0.8797, allocations: 5.125 kB / 1.215 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.8797, allocations: 5.578 kB / 1.215 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.8805, allocations: 184 kB / 1.216 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.8806, allocations: 47.16 kB / 1.216 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.8806, allocations: 2.25 kB / 1.216 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.8807, allocations: 20.64 kB / 1.216 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.8807, allocations: 29.45 kB / 1.216 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.8807, allocations: 7.312 kB / 1.216 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.8811, allocations: 207.7 kB / 1.216 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.8812, allocations: 15.12 kB / 1.216 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.8812, allocations: 22.45 kB / 1.216 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.8816, allocations: 194.4 kB / 1.216 GB, free: 2.141 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8816, allocations: 0 / 1.216 GB, free: 2.141 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8816, allocations: 0 / 1.216 GB, free: 2.141 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.8816, allocations: 0.75 kB / 1.216 GB, free: 2.141 MB / 0.92 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.0006105/0.8822, allocations: 449.7 kB / 1.216 GB, free: 1.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.8822, allocations: 9.469 kB / 1.217 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.8823, allocations: 8.109 kB / 1.217 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.8825, allocations: 176.2 kB / 1.217 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.8825, allocations: 2.156 kB / 1.217 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.8825, allocations: 2.594 kB / 1.217 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.8827, allocations: 97.73 kB / 1.217 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8827, allocations: 0 / 1.217 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.8827, allocations: 1.062 kB / 1.217 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8827, allocations: 5.031 kB / 1.217 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.8828, allocations: 71.53 kB / 1.217 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.883, allocations: 172.8 kB / 1.217 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.8832, allocations: 74.91 kB / 1.217 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.8833, allocations: 64.48 kB / 1.217 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.8833, allocations: 5.797 kB / 1.217 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.8833, allocations: 38.48 kB / 1.217 GB, free: 1.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.8833, allocations: 4 kB / 1.217 GB, free: 1.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004239/0.8837, allocations: 254.3 kB / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.8838, allocations: 84.58 kB / 1.218 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.884, allocations: 141 kB / 1.218 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.884, allocations: 26.86 kB / 1.218 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.884, allocations: 91.84 kB / 1.218 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.8841, allocations: 12.94 kB / 1.218 GB, free: 0.582 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.8841, allocations: 26.75 kB / 1.218 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8843, allocations: 325.1 kB / 1.218 GB, free: 244 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.8844, allocations: 99.22 kB / 1.218 GB, free: 216 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.8845, allocations: 104.3 kB / 1.218 GB, free: 184 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.8848, allocations: 275.6 kB / 1.219 GB, free: 20 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8848, allocations: 4 kB / 1.219 GB, free: 16 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003981/0.8852, allocations: 338.2 kB / 1.219 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/0.8853, allocations: 66.95 kB / 1.219 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.8853, allocations: 0.9688 kB / 1.219 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.8853, allocations: 0 / 1.219 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.8853, allocations: 1 kB / 1.219 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.8853, allocations: 7.938 kB / 1.219 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.8855, allocations: 13.8 kB / 1.219 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.8855, allocations: 8.359 kB / 1.219 GB, free: 15.75 MB / 0.9356 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 0.0001413/0.8856, allocations: 152.1 kB / 1.219 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.8856, allocations: 11.3 kB / 1.219 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.8857, allocations: 5.469 kB / 1.219 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8857, allocations: 1.25 kB / 1.219 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8857, allocations: 0 / 1.219 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8857, allocations: 4 kB / 1.219 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.8858, allocations: 173 kB / 1.219 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.8858, allocations: 1.125 kB / 1.219 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-06/0.8858, allocations: 7.875 kB / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8858, allocations: 0 / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.8858, allocations: 2.156 kB / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8858, allocations: 1.156 kB / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8858, allocations: 0 / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.8862, allocations: 233 kB / 1.22 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.8862, allocations: 91.25 kB / 1.22 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.8862, allocations: 6.078 kB / 1.22 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.8863, allocations: 3.188 kB / 1.22 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.8864, allocations: 8.141 kB / 1.22 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.8864, allocations: 1.906 kB / 1.22 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.366e-05/0.8864, allocations: 107.6 kB / 1.22 GB, free: 15 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8864, allocations: 0 / 1.22 GB, free: 15 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000342/0.8868, allocations: 63.92 kB / 1.22 GB, free: 15 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: 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.0003366/0.8871, allocations: 155.5 kB / 1.22 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004632/0.8876, allocations: 332.9 kB / 1.22 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8876, allocations: 0.7188 kB / 1.22 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.8877, allocations: 126.5 kB / 1.22 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.8879, allocations: 3.875 kB / 1.22 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.8884, allocations: 213.6 kB / 1.221 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.8887, allocations: 0.6907 MB / 1.221 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.153e-06/0.8887, allocations: 4 kB / 1.221 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.8888, allocations: 8.781 kB / 1.221 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.8888, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.006039/0.8948, allocations: 2.049 MB / 1.223 GB, free: 12.7 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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: 8.505453452467918]