Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001394/0.001394, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001238/0.001238, allocations: 167.5 kB / 24.87 MB, free: 9.277 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 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.987/1.987, allocations: 377.9 MB / 0.6247 GB, free: 8.434 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.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.314e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001469/0.001492, allocations: 0.8108 MB / 0.8136 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.0016, allocations: 40.56 kB / 0.8136 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.00165, allocations: 4 kB / 0.8136 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.001685, allocations: 13.55 kB / 0.8136 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.001758, allocations: 11.88 kB / 0.8137 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.976e-05/0.001798, allocations: 15.98 kB / 0.8137 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.728e-05/0.001895, allocations: 67.77 kB / 0.8137 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.001999, allocations: 29.5 kB / 0.8138 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.002085, allocations: 47.83 kB / 0.8138 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.714e-05/0.002122, allocations: 15.92 kB / 0.8138 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.002136, allocations: 4 kB / 0.8138 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-06/0.002143, allocations: 5.594 kB / 0.8138 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.002159, allocations: 11.94 kB / 0.8138 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.002185, allocations: 23.91 kB / 0.8139 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.712e-05/0.002262, allocations: 35.83 kB / 0.8139 GB, free: 364 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002264, allocations: 0.5312 kB / 0.8139 GB, free: 364 kB / 0.7605 GB Notification: Performance of FrontEnd: time 3.125e-06/0.002267, allocations: 5.656 kB / 0.8139 GB, free: 360 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.002271, allocations: 0 / 0.8139 GB, free: 360 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003258/0.002597, allocations: 404.2 kB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.002629, allocations: 12.03 kB / 0.8143 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.00266, allocations: 17.48 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.002782, allocations: 140.4 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.002791, allocations: 4.875 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.002801, allocations: 13.19 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.959e-05/0.002901, allocations: 92.3 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.002908, allocations: 192 / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.002917, allocations: 5.531 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.002925, allocations: 8.312 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.965e-05/0.002955, allocations: 23.86 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.003363, allocations: 0.7198 MB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.003443, allocations: 269.6 kB / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.003473, allocations: 130.9 kB / 0.8157 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.003499, allocations: 120.9 kB / 0.8158 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.003541, allocations: 160.6 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.003542, allocations: 0 / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.242e-05/0.003594, allocations: 33.66 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.003651, allocations: 171.8 kB / 0.8161 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.003756, allocations: 195.9 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.003765, allocations: 25.7 kB / 0.8164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.003842, allocations: 189 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.003844, allocations: 3.938 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.003876, allocations: 31.36 kB / 0.8166 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.003997, allocations: 496.1 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.004007, allocations: 4 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.169e-05/0.004049, allocations: 73.48 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.00412, allocations: 96.09 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004122, allocations: 0 / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001163/0.004239, allocations: 89.7 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.004252, allocations: 4 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.004257, allocations: 4 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.004267, allocations: 0 / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.765e-05/0.004315, allocations: 15.98 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.004319, allocations: 4 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.004343, allocations: 11.89 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.004348, allocations: 4.719 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (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 prepare postOptimizeDAE: time 9.519e-05/0.004443, allocations: 284.7 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.004494, allocations: 148.9 kB / 0.8178 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.004542, allocations: 160.6 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.26e-05/0.004605, allocations: 269 kB / 0.8182 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.813e-05/0.004663, allocations: 268 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.151e-05/0.004734, allocations: 284 kB / 0.8187 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.004906, allocations: 493.3 kB / 0.8192 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/0.004941, allocations: 148.8 kB / 0.8193 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.004974, allocations: 151 kB / 0.8194 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.594e-05/0.00503, allocations: 264.1 kB / 0.8197 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.005091, allocations: 272 kB / 0.82 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-05/0.005146, allocations: 264.1 kB / 0.8202 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-05/0.005206, allocations: 272 kB / 0.8205 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.005329, allocations: 452.4 kB / 0.8209 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.005381, allocations: 164.8 kB / 0.8211 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.00544, allocations: 269.2 kB / 0.8213 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.005498, allocations: 152.8 kB / 0.8215 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.005557, allocations: 264.4 kB / 0.8217 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.005591, allocations: 153.9 kB / 0.8219 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.005641, allocations: 136.5 kB / 0.822 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005641, allocations: 5.062 kB / 0.822 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001624/0.005804, allocations: 7.953 kB / 0.822 GB, free: 7.609 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.000106/0.00591, allocations: 219.2 kB / 0.8222 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.005984, allocations: 41.52 kB / 0.8222 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.005986, allocations: 0 / 0.8222 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.005987, allocations: 0 / 0.8222 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.006276, allocations: 0.7075 MB / 0.8229 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.006503, allocations: 273.7 kB / 0.8232 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.006534, allocations: 59.34 kB / 0.8233 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.006567, allocations: 9.828 kB / 0.8233 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.006601, allocations: 74.2 kB / 0.8233 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.006602, allocations: 0 / 0.8233 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of Templates: time 0.001828/0.008429, allocations: 335.8 kB / 0.8237 GB, free: 5.855 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.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.279409107752144]