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.001125/0.001125, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001241/0.001241, allocations: 161 kB / 23.82 MB, free: 0.75 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.9808/0.9808, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.827/1.827, allocations: 377.9 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.433e-06/1.433e-06, allocations: 0 / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.691e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001231/0.001258, allocations: 0.6582 MB / 0.8122 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003432/0.001601, allocations: 171.3 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.001632, allocations: 0.6562 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.001656, allocations: 3.938 kB / 0.8124 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.001834, allocations: 16.73 kB / 0.8124 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.002011, allocations: 72.97 kB / 0.8125 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.581e-05/0.002077, allocations: 31.86 kB / 0.8125 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.002112, allocations: 0 / 0.8125 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.002156, allocations: 21.41 kB / 0.8125 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.002211, allocations: 19.91 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.002226, allocations: 0 / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.002319, allocations: 43.95 kB / 0.8126 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.002336, allocations: 13.45 kB / 0.8126 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.002356, allocations: 7.984 kB / 0.8126 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.002491, allocations: 103.6 kB / 0.8127 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002494, allocations: 0 / 0.8127 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.41e-07/0.002495, allocations: 1.375 kB / 0.8127 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.002499, allocations: 0 / 0.8127 GB, free: 0.5117 MB / 0.7605 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.0004186/0.002917, allocations: 380.5 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.002957, allocations: 8.625 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.003003, allocations: 10.02 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.003121, allocations: 128.5 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.003133, allocations: 384 / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.003153, allocations: 6.281 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.003274, allocations: 66.88 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.003284, allocations: 192 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.003295, allocations: 4.375 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.003303, allocations: 384 / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.00334, allocations: 20.45 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.003563, allocations: 239.8 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.003642, allocations: 51.77 kB / 0.8136 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.003669, allocations: 17.06 kB / 0.8136 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.003684, allocations: 4 kB / 0.8136 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.003705, allocations: 37.47 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.003706, allocations: 0.625 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.01384/0.01754, allocations: 1.482 MB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.01758, allocations: 55.28 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.01768, allocations: 177.9 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.01774, allocations: 29.7 kB / 0.8154 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.0178, allocations: 146.8 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.01786, allocations: 11.86 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.01804, allocations: 43.25 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.01815, allocations: 496.1 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.01845, allocations: 108 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.01873, allocations: 99.97 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.01933, allocations: 219.7 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01933, allocations: 0 / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008139/0.02015, allocations: 262.6 kB / 0.8167 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.02017, allocations: 4 kB / 0.8167 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.02018, allocations: 5.031 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.02019, allocations: 3.984 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/0.02109, allocations: 57.06 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.0211, allocations: 4.062 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/0.02182, allocations: 39.95 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.02188, allocations: 9.016 kB / 0.8168 GB, free: 12.16 MB / 0.7761 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.0001627/0.02204, allocations: 160.5 kB / 0.817 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.02215, allocations: 12.89 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.02226, allocations: 20.19 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.02226, allocations: 0 / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.02227, allocations: 7.375 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.02227, allocations: 0 / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.02557, allocations: 0.655 MB / 0.8176 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.02558, allocations: 0 / 0.8176 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.0262, allocations: 55.88 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.0262, allocations: 0 / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.02624, allocations: 4.562 kB / 0.8177 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.02625, allocations: 4 kB / 0.8177 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.02625, allocations: 0.5938 kB / 0.8177 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.02685, allocations: 287.3 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.02687, allocations: 3.953 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.02692, allocations: 4 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.02749, allocations: 39.95 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.02751, allocations: 3.938 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.02754, allocations: 7.984 kB / 0.818 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.315e-05/0.0276, allocations: 131.2 kB / 0.8181 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0276, allocations: 4 kB / 0.8182 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003841/0.02798, allocations: 95.86 kB / 0.8182 GB, free: 10.61 MB / 0.7761 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.0002085/0.02819, allocations: 115.2 kB / 0.8184 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006078/0.0288, allocations: 180.5 kB / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.0288, allocations: 0 / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.02902, allocations: 59.59 kB / 0.8186 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.02931, allocations: 11.98 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.03085, allocations: 253.4 kB / 0.8188 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.357e-05/0.0309, allocations: 59.34 kB / 0.8189 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003247/0.03122, allocations: 52.12 kB / 0.8189 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/0.03163, allocations: 20.48 kB / 0.819 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of SimCode: time 9.51e-07/0.03163, allocations: 0 / 0.819 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of Templates: time 0.0141/0.04574, allocations: 10.15 MB / 0.8289 GB, free: 15.61 MB / 0.7917 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 -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.313449345994741]