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.0015/0.0015, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001661/0.001661, allocations: 165 kB / 23.81 MB, free: 0.7461 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.043/1.043, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.87/1.87, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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 2.445e-06/2.445e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.611e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002754/0.00279, allocations: 0.8365 MB / 0.8124 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.002997, allocations: 39.84 kB / 0.8124 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.003065, allocations: 3.938 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.003116, allocations: 9.469 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.003219, allocations: 15.86 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.745e-05/0.003286, allocations: 15.98 kB / 0.8124 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.003433, allocations: 59.84 kB / 0.8125 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.003594, allocations: 28.5 kB / 0.8125 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.003735, allocations: 48.45 kB / 0.8126 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.003785, allocations: 19.92 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.003813, allocations: 8.516 kB / 0.8126 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.003824, allocations: 5.312 kB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.003848, allocations: 11.94 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.003886, allocations: 15.92 kB / 0.8126 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.004018, allocations: 39.84 kB / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.004022, allocations: 0.5312 kB / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.533e-06/0.004023, allocations: 1.375 kB / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.004029, allocations: 0 / 0.8127 GB, free: 0.6016 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004936/0.004522, allocations: 412.2 kB / 0.8131 GB, free: 164 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.004573, allocations: 9.188 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.004633, allocations: 12.89 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.004848, allocations: 144.5 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.004866, allocations: 5.531 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.004884, allocations: 8.375 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.005062, allocations: 89.47 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.005072, allocations: 5.219 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.005087, allocations: 384 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.005099, allocations: 8.312 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.005177, allocations: 36.69 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.00588, allocations: 0.7374 MB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.006, allocations: 274.8 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.006053, allocations: 130.9 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.006091, allocations: 119.2 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/0.006151, allocations: 157.9 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.006153, allocations: 0 / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.892e-05/0.006241, allocations: 29.66 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.006319, allocations: 180.1 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.006478, allocations: 196.3 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.006488, allocations: 29.7 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.006585, allocations: 174.5 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.006588, allocations: 3.938 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.006636, allocations: 38.11 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.006778, allocations: 492.1 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.0068, allocations: 7.984 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/0.006864, allocations: 77.48 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.006966, allocations: 96.34 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.00697, allocations: 0 / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001954/0.007165, allocations: 91.12 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.007186, allocations: 4 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.007194, allocations: 4 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.007211, allocations: 0.9062 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.007289, allocations: 12 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.007304, allocations: 12.92 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.007347, allocations: 7.953 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.007356, allocations: 4.844 kB / 0.8161 GB, free: 12.77 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 0.0001218/0.007478, allocations: 283.6 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.00755, allocations: 150.2 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/0.007614, allocations: 156.6 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-05/0.007691, allocations: 268.1 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.882e-05/0.00777, allocations: 276.9 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.683e-05/0.007847, allocations: 276 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.008094, allocations: 0.5104 MB / 0.818 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.684e-05/0.008141, allocations: 148.8 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.008182, allocations: 148.9 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-05/0.008257, allocations: 264.1 kB / 0.8185 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.008336, allocations: 272 kB / 0.8188 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.729e-05/0.008413, allocations: 276 kB / 0.819 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.508e-05/0.008488, allocations: 268 kB / 0.8193 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.008656, allocations: 451.9 kB / 0.8197 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.008722, allocations: 167.4 kB / 0.8199 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/0.008806, allocations: 264.1 kB / 0.8201 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.008883, allocations: 148.8 kB / 0.8203 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.008964, allocations: 268.4 kB / 0.8205 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.009013, allocations: 148.8 kB / 0.8207 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.009086, allocations: 143.2 kB / 0.8208 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009086, allocations: 7.938 kB / 0.8208 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002468/0.009333, allocations: 12.89 kB / 0.8208 GB, free: 7.766 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.0001454/0.009479, allocations: 215.6 kB / 0.821 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.009594, allocations: 36.67 kB / 0.8211 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.009596, allocations: 0 / 0.8211 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.009598, allocations: 1.125 kB / 0.8211 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.01002, allocations: 0.7023 MB / 0.8218 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.01038, allocations: 269.7 kB / 0.822 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.751e-05/0.01043, allocations: 69.52 kB / 0.8221 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.524e-05/0.01047, allocations: 10.47 kB / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.0105, allocations: 13.38 kB / 0.8221 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of SimCode: time 1.663e-06/0.01051, allocations: 0 / 0.8221 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of Templates: time 0.002763/0.01327, allocations: 316.3 kB / 0.8224 GB, free: 6.102 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.22493252903223]