Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.001082/0.001082, 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.001161/0.001161, allocations: 161 kB / 24.17 MB, free: 328 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.025/1.025, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.979/1.979, allocations: 377.9 MB / 0.624 GB, free: 8.383 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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.404e-05, allocations: 6.656 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001455/0.001479, allocations: 0.7116 MB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003545/0.001833, allocations: 180.5 kB / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.001863, allocations: 0 / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.001879, allocations: 3.938 kB / 0.761 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.002046, allocations: 6.016 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.002193, allocations: 74.64 kB / 0.7611 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.002256, allocations: 32.02 kB / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.002303, allocations: 9.953 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.002355, allocations: 18.28 kB / 0.7611 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.00241, allocations: 10.06 kB / 0.7611 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.002424, allocations: 4 kB / 0.7611 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.002531, allocations: 50.83 kB / 0.7612 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.00255, allocations: 11.47 kB / 0.7612 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.00257, allocations: 19.92 kB / 0.7612 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.002696, allocations: 92.47 kB / 0.7613 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002698, allocations: 0 / 0.7613 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/0.0027, allocations: 0.75 kB / 0.7613 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.002703, allocations: 0 / 0.7613 GB, free: 5.375 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003358/0.003039, allocations: 267 kB / 0.7616 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.003072, allocations: 8.031 kB / 0.7616 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.003098, allocations: 4.938 kB / 0.7616 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/0.003193, allocations: 117.6 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.003202, allocations: 384 / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.003224, allocations: 5.844 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.003325, allocations: 62.92 kB / 0.7617 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.003334, allocations: 192 / 0.7617 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.003341, allocations: 4.375 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.003346, allocations: 1.625 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.003372, allocations: 7.938 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.003536, allocations: 148.3 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.003596, allocations: 39.75 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.003612, allocations: 8.859 kB / 0.7619 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.003623, allocations: 0 / 0.7619 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.003644, allocations: 37.69 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.003645, allocations: 0 / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0112/0.01484, allocations: 1.375 MB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.01487, allocations: 55.41 kB / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.01495, allocations: 118.6 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.01499, allocations: 25.7 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.01504, allocations: 93.36 kB / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.01508, allocations: 27.73 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.01521, allocations: 29.69 kB / 0.7637 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.01532, allocations: 311.4 kB / 0.764 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.01547, allocations: 67.98 kB / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.01562, allocations: 68.84 kB / 0.7641 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.01595, allocations: 152.8 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01595, allocations: 0.875 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004087/0.01636, allocations: 181.6 kB / 0.7644 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.01637, allocations: 12.62 kB / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01638, allocations: 0 / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.01639, allocations: 1.312 kB / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.01705, allocations: 55.94 kB / 0.7645 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.01706, allocations: 4 kB / 0.7645 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.01756, allocations: 45.11 kB / 0.7645 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.01759, allocations: 4 kB / 0.7645 GB, free: 1.945 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001093/0.0177, allocations: 110.5 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.01777, allocations: 11.98 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.047e-05/0.01786, allocations: 25.36 kB / 0.7647 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01786, allocations: 0 / 0.7647 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01786, allocations: 0 / 0.7647 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01786, allocations: 3.656 kB / 0.7647 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.02004, allocations: 476.1 kB / 0.7651 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.02004, allocations: 7.984 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.0205, allocations: 51.88 kB / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.02051, allocations: 0 / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.02053, allocations: 4 kB / 0.7652 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.02054, allocations: 0.8125 kB / 0.7652 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.02054, allocations: 0 / 0.7652 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.02086, allocations: 198.8 kB / 0.7654 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.02088, allocations: 11.92 kB / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.02092, allocations: 4 kB / 0.7654 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.02131, allocations: 31.97 kB / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.02141, allocations: 8.922 kB / 0.7654 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.02143, allocations: 4 kB / 0.7654 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.689e-05/0.02146, allocations: 21.5 kB / 0.7655 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.02146, allocations: 1.062 kB / 0.7655 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002588/0.02172, allocations: 91.94 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0001742/0.02189, allocations: 93.38 kB / 0.7656 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.02226, allocations: 130 kB / 0.7658 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.02226, allocations: 0 / 0.7658 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.02241, allocations: 41.56 kB / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.02258, allocations: 11.94 kB / 0.7658 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.02369, allocations: 239.2 kB / 0.766 GB, free: 312 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.02373, allocations: 60.69 kB / 0.7661 GB, free: 232 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002923/0.02403, allocations: 53.95 kB / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/0.02447, allocations: 63.36 kB / 0.7662 GB, free: 156 kB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/0.02447, allocations: 0 / 0.7662 GB, free: 156 kB / 0.7136 GB Notification: Performance of Templates: time 0.0118/0.03628, allocations: 9.904 MB / 0.7759 GB, free: 6.297 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.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.450485737994313]