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.0009618/0.0009618, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001051/0.001051, allocations: 164.9 kB / 24.87 MB, free: 8.684 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.9307/0.9307, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.864/1.864, allocations: 377.9 MB / 0.6247 GB, free: 8.445 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.773e-06/1.773e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.082e-05, allocations: 11.09 kB / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002032/0.002062, allocations: 0.6342 MB / 0.8135 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004601/0.002523, allocations: 180 kB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.002571, allocations: 1.688 kB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.002593, allocations: 3.938 kB / 0.8136 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.002775, allocations: 11.94 kB / 0.8137 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.003019, allocations: 77.2 kB / 0.8137 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.003098, allocations: 27.92 kB / 0.8138 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.003148, allocations: 0 / 0.8138 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.003204, allocations: 19.97 kB / 0.8138 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.00327, allocations: 17.67 kB / 0.8138 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.003287, allocations: 4 kB / 0.8138 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.00342, allocations: 51.81 kB / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.003442, allocations: 7.984 kB / 0.8138 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.003462, allocations: 11.92 kB / 0.8139 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.003639, allocations: 92.97 kB / 0.8139 GB, free: 296 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.003642, allocations: 0 / 0.8139 GB, free: 296 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003643, allocations: 0 / 0.8139 GB, free: 296 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.003648, allocations: 1.594 kB / 0.814 GB, free: 296 kB / 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.0006554/0.004303, allocations: 392.4 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.004344, allocations: 8.031 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.004384, allocations: 8.891 kB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.004494, allocations: 123 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.004507, allocations: 4.375 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.004525, allocations: 4.375 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.004649, allocations: 62.94 kB / 0.8145 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.00466, allocations: 192 / 0.8145 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.004669, allocations: 4.375 kB / 0.8145 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.004677, allocations: 5.078 kB / 0.8145 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.004713, allocations: 11.94 kB / 0.8145 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.004957, allocations: 229 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.558e-05/0.005042, allocations: 44.64 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.005069, allocations: 19.77 kB / 0.8148 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.005082, allocations: 0 / 0.8148 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.005108, allocations: 33.39 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.005109, allocations: 4.656 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.01922/0.02433, allocations: 1.427 MB / 0.8163 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.02437, allocations: 57.34 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.02449, allocations: 185.8 kB / 0.8165 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.02455, allocations: 25.7 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.02462, allocations: 138.8 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.02469, allocations: 23.81 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.0249, allocations: 36.31 kB / 0.8167 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.02505, allocations: 0.4884 MB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.02531, allocations: 79.97 kB / 0.8173 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.02557, allocations: 81.06 kB / 0.8173 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.02612, allocations: 183.7 kB / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.02613, allocations: 0 / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008106/0.02694, allocations: 222.7 kB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.02696, allocations: 11.94 kB / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.02697, allocations: 0 / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.02698, allocations: 5.078 kB / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.02833, allocations: 55.89 kB / 0.8178 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.02834, allocations: 4.875 kB / 0.8178 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/0.02913, allocations: 43.94 kB / 0.8178 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.02917, allocations: 9.312 kB / 0.8178 GB, free: 12.13 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.0001385/0.02931, allocations: 156.6 kB / 0.818 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.0294, allocations: 8.359 kB / 0.818 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.02e-05/0.02949, allocations: 20.44 kB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.02949, allocations: 4 kB / 0.818 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.02949, allocations: 0 / 0.818 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.0295, allocations: 3.984 kB / 0.818 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.03212, allocations: 0.6205 MB / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.03212, allocations: 0 / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.03262, allocations: 55.88 kB / 0.8187 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.03263, allocations: 64 / 0.8187 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.03265, allocations: 4 kB / 0.8187 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.03266, allocations: 8.062 kB / 0.8187 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.03266, allocations: 0 / 0.8187 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.03309, allocations: 271.1 kB / 0.819 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.0331, allocations: 11.97 kB / 0.819 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.03314, allocations: 4 kB / 0.819 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.03358, allocations: 35.95 kB / 0.819 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.03359, allocations: 4 kB / 0.819 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.03362, allocations: 0 / 0.819 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.948e-05/0.03368, allocations: 131.2 kB / 0.8191 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.03368, allocations: 0 / 0.8191 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002958/0.03397, allocations: 103.9 kB / 0.8192 GB, free: 10.63 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.0001869/0.03416, allocations: 107.2 kB / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.03456, allocations: 152.5 kB / 0.8195 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.03456, allocations: 0 / 0.8195 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.03472, allocations: 51.59 kB / 0.8195 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.03493, allocations: 19.89 kB / 0.8196 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.03614, allocations: 245.5 kB / 0.8198 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.672e-05/0.03618, allocations: 67.34 kB / 0.8199 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000248/0.03642, allocations: 48 kB / 0.8199 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/0.03687, allocations: 82.12 kB / 0.82 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.03687, allocations: 0 / 0.82 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of Templates: time 0.01043/0.04731, allocations: 10.31 MB / 0.83 GB, free: 15.46 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.498929338064045]