Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009681/0.0009681, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001025/0.001025, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9093/0.9093, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.537/2.537, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.783e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001296/0.001314, allocations: 0.6341 MB / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.002692, allocations: 1.419 MB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.002716, allocations: 0 / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.042e-05/0.002777, allocations: 7.875 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.935e-05/0.002816, allocations: 4 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.003278, allocations: 191.5 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.003e-05/0.003358, allocations: 39.91 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.095e-05/0.003389, allocations: 7.938 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.003437, allocations: 31.95 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.003481, allocations: 19.97 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.003493, allocations: 4 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.003747, allocations: 211.6 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.003781, allocations: 8 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.003806, allocations: 15.92 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.004017, allocations: 243.3 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004019, allocations: 4 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.72e-07/0.00402, allocations: 0 / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.365e-06/0.004022, allocations: 0 / 0.8414 GB, free: 11.28 MB / 0.8073 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.0004339/0.004456, allocations: 339.9 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.004486, allocations: 8.625 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/0.004513, allocations: 8.938 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.638e-05/0.004589, allocations: 119.7 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.004599, allocations: 384 / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.00461, allocations: 4.375 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.004726, allocations: 102.7 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.004732, allocations: 4.188 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.004739, allocations: 4.375 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.004744, allocations: 3.938 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.004781, allocations: 53.69 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.587e-05/0.004847, allocations: 71.8 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.066e-05/0.004908, allocations: 68.31 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.004948, allocations: 70.61 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-06/0.004951, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.00497, allocations: 38.5 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 4.81e-07/0.004971, allocations: 0 / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001668/0.005138, allocations: 210.7 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.005168, allocations: 85.11 kB / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/0.005239, allocations: 138.5 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005249, allocations: 25.7 kB / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.005276, allocations: 100 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.005292, allocations: 11.91 kB / 0.8428 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.005325, allocations: 29.69 kB / 0.8428 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.005392, allocations: 322.8 kB / 0.8431 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.005454, allocations: 102.2 kB / 0.8432 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.121e-05/0.005505, allocations: 99.38 kB / 0.8433 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.005613, allocations: 196.6 kB / 0.8435 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005614, allocations: 8.062 kB / 0.8435 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001472/0.005761, allocations: 248.4 kB / 0.8438 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.005795, allocations: 69.58 kB / 0.8438 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.0058, allocations: 3.984 kB / 0.8438 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.00581, allocations: 0 / 0.8438 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-06/0.005814, allocations: 0 / 0.8438 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.005818, allocations: 4 kB / 0.8438 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.005877, allocations: 15.88 kB / 0.8439 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.005887, allocations: 8 kB / 0.8439 GB, free: 8.461 MB / 0.8073 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.311e-05/0.00595, allocations: 142.4 kB / 0.844 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.00596, allocations: 12.03 kB / 0.844 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.173e-05/0.005972, allocations: 4.344 kB / 0.844 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.12e-07/0.005973, allocations: 3.938 kB / 0.844 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.005974, allocations: 0 / 0.844 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005977, allocations: 4 kB / 0.844 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.916e-05/0.006026, allocations: 77.92 kB / 0.8441 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.006027, allocations: 0 / 0.8441 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.006027, allocations: 0 / 0.8441 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.00603, allocations: 3.984 kB / 0.8441 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.006035, allocations: 0 / 0.8441 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006035, allocations: 0 / 0.8441 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.006038, allocations: 11.98 kB / 0.8441 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.006156, allocations: 194.1 kB / 0.8443 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.006163, allocations: 4 kB / 0.8443 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.006176, allocations: 3.984 kB / 0.8443 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.203e-05/0.006198, allocations: 4 kB / 0.8443 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.006234, allocations: 8 kB / 0.8443 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.006238, allocations: 0 / 0.8443 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.921e-05/0.006257, allocations: 24.83 kB / 0.8443 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006257, allocations: 0 / 0.8443 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001552/0.006412, allocations: 75.8 kB / 0.8444 GB, free: 7.824 MB / 0.8073 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.0001722/0.006585, allocations: 144.3 kB / 0.8446 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.006777, allocations: 316.7 kB / 0.8449 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.006779, allocations: 0 / 0.8449 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.037e-05/0.00684, allocations: 124.8 kB / 0.845 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.716e-05/0.006897, allocations: 13.66 kB / 0.845 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.007124, allocations: 205.7 kB / 0.8452 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.119e-05/0.007155, allocations: 63.34 kB / 0.8452 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.729e-06/0.00716, allocations: 0 / 0.8452 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.007224, allocations: 67.5 kB / 0.8453 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of SimCode: time 7.91e-07/0.007224, allocations: 0 / 0.8453 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of Templates: time 0.003717/0.01094, allocations: 2.386 MB / 0.8476 GB, free: 4.402 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.3043277729302645]