Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.00103/0.00103, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001735/0.001735, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.034/1.034, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.976/1.976, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 4 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.566e-05, allocations: 5.781 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001406/0.001432, allocations: 0.6905 MB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.002934, allocations: 1.424 MB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.002962, allocations: 0.5312 kB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.365e-05/0.003016, allocations: 4.5 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.003058, allocations: 11 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.003583, allocations: 156.7 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.00394, allocations: 47.34 kB / 0.7624 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.003975, allocations: 4 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.004024, allocations: 31.22 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.004076, allocations: 17.17 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.004088, allocations: 4 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.004424, allocations: 244.5 kB / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.004461, allocations: 11.81 kB / 0.7627 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.004493, allocations: 14.72 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.004718, allocations: 236.2 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00472, allocations: 0 / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004721, allocations: 0.75 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.004724, allocations: 0 / 0.7629 GB, free: 3.695 MB / 0.7136 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.0002858/0.00501, allocations: 342.1 kB / 0.7633 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.00504, allocations: 12.02 kB / 0.7633 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.005069, allocations: 4.938 kB / 0.7633 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.005152, allocations: 125.7 kB / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.005162, allocations: 384 / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.00517, allocations: 4.375 kB / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.005281, allocations: 100.2 kB / 0.7635 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.005288, allocations: 192 / 0.7635 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.005297, allocations: 8.312 kB / 0.7635 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.005303, allocations: 3.938 kB / 0.7635 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.005347, allocations: 62.86 kB / 0.7636 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.728e-05/0.005414, allocations: 59.88 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/0.005481, allocations: 76.3 kB / 0.7637 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.005523, allocations: 71.86 kB / 0.7638 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-06/0.005527, allocations: 0 / 0.7638 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.005547, allocations: 34.56 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.005547, allocations: 3.25 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001836/0.005731, allocations: 206.7 kB / 0.764 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.005765, allocations: 89.09 kB / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/0.005849, allocations: 144.2 kB / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.005858, allocations: 25.7 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.005885, allocations: 84.14 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.005904, allocations: 11.89 kB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.005938, allocations: 29.69 kB / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.006013, allocations: 330.8 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.006082, allocations: 105 kB / 0.7648 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.006139, allocations: 99.38 kB / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.006254, allocations: 180.7 kB / 0.765 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006256, allocations: 0 / 0.765 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001585/0.006414, allocations: 256.3 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.006454, allocations: 67.39 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006459, allocations: 0 / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.00647, allocations: 1.5 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.006472, allocations: 0 / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.006474, allocations: 0 / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.006541, allocations: 19.83 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.006551, allocations: 8.656 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 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 6.564e-05/0.006617, allocations: 143.1 kB / 0.7655 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.006628, allocations: 8 kB / 0.7655 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.241e-05/0.006641, allocations: 11.11 kB / 0.7655 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006643, allocations: 0 / 0.7655 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.006644, allocations: 0 / 0.7655 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.006646, allocations: 144 / 0.7655 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.67e-05/0.006703, allocations: 89.8 kB / 0.7656 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.006704, allocations: 0 / 0.7656 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.006704, allocations: 0 / 0.7656 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.006705, allocations: 0 / 0.7656 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.006711, allocations: 7.062 kB / 0.7656 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006712, allocations: 0 / 0.7656 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.006713, allocations: 3.938 kB / 0.7656 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.006846, allocations: 198.1 kB / 0.7658 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.006855, allocations: 7.953 kB / 0.7658 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006867, allocations: 0 / 0.7658 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.522e-05/0.006892, allocations: 4 kB / 0.7658 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.006932, allocations: 11.98 kB / 0.7658 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.006935, allocations: 1.812 kB / 0.7658 GB, free: 372 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.311e-05/0.006959, allocations: 26.39 kB / 0.7659 GB, free: 344 kB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006959, allocations: 0 / 0.7659 GB, free: 344 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001898/0.007148, allocations: 63.88 kB / 0.7659 GB, free: 280 kB / 0.7136 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.0002027/0.007351, allocations: 141.4 kB / 0.7661 GB, free: 132 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.007585, allocations: 320.6 kB / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.007589, allocations: 2.438 kB / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.007662, allocations: 132.8 kB / 0.7665 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.06e-05/0.007732, allocations: 15.92 kB / 0.7665 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.007977, allocations: 201.7 kB / 0.7667 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.008012, allocations: 67.33 kB / 0.7668 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.67e-06/0.008017, allocations: 2.5 kB / 0.7668 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.008087, allocations: 63.38 kB / 0.7668 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of SimCode: time 7.42e-07/0.008088, allocations: 0 / 0.7668 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.004095/0.01218, allocations: 2.384 MB / 0.7692 GB, free: 12.93 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.26458469312638]