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.001144/0.001144, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.00106/0.00106, allocations: 181 kB / 24.09 MB, free: 420 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 0.959/0.959, allocations: 177.1 MB / 204.5 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.953/1.953, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] 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.884e-06/1.884e-06, allocations: 0 / 0.8121 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.155e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001223/0.001245, allocations: 0.6382 MB / 0.8127 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003243/0.001569, allocations: 173.1 kB / 0.8129 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.0016, allocations: 0 / 0.8129 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.001616, allocations: 4 kB / 0.8129 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.001764, allocations: 12.47 kB / 0.8129 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.001917, allocations: 78.14 kB / 0.8129 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.291e-05/0.00197, allocations: 31.84 kB / 0.813 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.002007, allocations: 4 kB / 0.813 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.002053, allocations: 11.98 kB / 0.813 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.002107, allocations: 23.91 kB / 0.813 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.00212, allocations: 1.156 kB / 0.813 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-05/0.002202, allocations: 47.88 kB / 0.8131 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.002216, allocations: 7.984 kB / 0.8131 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.002231, allocations: 12.88 kB / 0.8131 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.002355, allocations: 91.72 kB / 0.8132 GB, free: 240 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.002358, allocations: 4 kB / 0.8132 GB, free: 236 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002359, allocations: 0.9062 kB / 0.8132 GB, free: 236 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002362, allocations: 0 / 0.8132 GB, free: 236 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.0003624/0.002725, allocations: 385.5 kB / 0.8135 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.002761, allocations: 15.97 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.002791, allocations: 10.22 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.00287, allocations: 124.5 kB / 0.8137 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.00288, allocations: 4.375 kB / 0.8137 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.002896, allocations: 4.375 kB / 0.8137 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.002986, allocations: 60.81 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.002994, allocations: 192 / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.003001, allocations: 4.375 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.003006, allocations: 4.375 kB / 0.8138 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.003029, allocations: 7.938 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.003472, allocations: 238.1 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.803e-05/0.00353, allocations: 35.06 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.00355, allocations: 23.69 kB / 0.8141 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.003563, allocations: 4.906 kB / 0.8141 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.003581, allocations: 33.39 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.003582, allocations: 0.5312 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.01141/0.01499, allocations: 1.428 MB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.01502, allocations: 51.41 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.01511, allocations: 181.8 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.01515, allocations: 29.7 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.01521, allocations: 138.8 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.01525, allocations: 30.61 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.01537, allocations: 31.36 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.01548, allocations: 0.4884 MB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.01565, allocations: 87.91 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.01583, allocations: 83.95 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.01618, allocations: 171.7 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01618, allocations: 4 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005075/0.01669, allocations: 226.5 kB / 0.817 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.01671, allocations: 7.938 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01671, allocations: 0 / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01673, allocations: 1.125 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/0.01737, allocations: 55.94 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.01737, allocations: 1.094 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.01789, allocations: 43.95 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.01792, allocations: 4 kB / 0.8171 GB, free: 12.08 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.000125/0.01804, allocations: 165.5 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.01812, allocations: 7.938 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.699e-05/0.0182, allocations: 16.72 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.01821, allocations: 432 / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01821, allocations: 11.98 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01821, allocations: 0 / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.02055, allocations: 0.6244 MB / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02056, allocations: 0 / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.02099, allocations: 51.92 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.02099, allocations: 7.938 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.02102, allocations: 0 / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.02102, allocations: 4.062 kB / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.02102, allocations: 4 kB / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.02142, allocations: 275.2 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.02143, allocations: 4 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.02147, allocations: 4 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.02187, allocations: 35.95 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.02188, allocations: 7.938 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.02191, allocations: 7.984 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.02195, allocations: 131.2 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.02195, allocations: 0 / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002768/0.02223, allocations: 99.94 kB / 0.8185 GB, free: 10.57 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.000184/0.02241, allocations: 113.8 kB / 0.8186 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.02278, allocations: 147.6 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02278, allocations: 0 / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.02291, allocations: 51.59 kB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.02312, allocations: 21 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.02422, allocations: 249.4 kB / 0.819 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.442e-05/0.02425, allocations: 63.47 kB / 0.8191 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.02448, allocations: 48 kB / 0.8191 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/0.02491, allocations: 82.19 kB / 0.8192 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of SimCode: time 1.272e-06/0.02491, allocations: 3.938 kB / 0.8192 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.01066/0.03558, allocations: 9.905 MB / 0.8289 GB, free: 15.81 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.212095641065389]