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.001488/0.001488, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.00158/0.00158, allocations: 165 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.9919/0.9919, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.924/1.924, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.383e-06/1.383e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.621e-05, allocations: 5.125 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001316/0.001333, allocations: 0.8221 MB / 0.8123 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 8.983e-05/0.001422, allocations: 39.78 kB / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.001461, allocations: 0 / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.001491, allocations: 8.531 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.621e-05/0.001547, allocations: 11.88 kB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.46e-05/0.001582, allocations: 21.23 kB / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.703e-05/0.001659, allocations: 63.81 kB / 0.8125 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.00175, allocations: 23.98 kB / 0.8125 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.001806, allocations: 46.27 kB / 0.8126 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.001846, allocations: 15.92 kB / 0.8126 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.001862, allocations: 7.938 kB / 0.8126 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-06/0.001868, allocations: 8 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.001885, allocations: 19.92 kB / 0.8126 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.001907, allocations: 15.92 kB / 0.8126 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.018e-05/0.001978, allocations: 47.81 kB / 0.8127 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.001979, allocations: 1.156 kB / 0.8127 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.01e-07/0.00198, allocations: 0 / 0.8127 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.001983, allocations: 0 / 0.8127 GB, free: 0.5977 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.0003507/0.002334, allocations: 405.2 kB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.002365, allocations: 8.031 kB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.002396, allocations: 17.39 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.002543, allocations: 137.2 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.002553, allocations: 8.375 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.002567, allocations: 9.484 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.00267, allocations: 96.16 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.002679, allocations: 192 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.002688, allocations: 5.906 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.002695, allocations: 384 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.493e-05/0.00274, allocations: 39.73 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.00308, allocations: 460.3 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.003132, allocations: 58.31 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.003158, allocations: 19.44 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.003164, allocations: 0 / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.003186, allocations: 38.89 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.003186, allocations: 0 / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001175/0.003304, allocations: 50.67 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.003338, allocations: 81.05 kB / 0.814 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.00343, allocations: 189.8 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.003441, allocations: 30.23 kB / 0.8142 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.003497, allocations: 154.7 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.003504, allocations: 12.42 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.003534, allocations: 24.31 kB / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.00364, allocations: 496.1 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.003652, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.003669, allocations: 20.12 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.003698, allocations: 25.28 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.003702, allocations: 7.984 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.46e-05/0.003757, allocations: 49.59 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.00377, allocations: 8.906 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.003773, allocations: 0 / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.003787, allocations: 0.8438 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.905e-05/0.003826, allocations: 4 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.003833, allocations: 11.92 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.003846, allocations: 1.281 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.003849, allocations: 3.938 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.787e-05/0.003907, allocations: 157.4 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.00393, allocations: 4 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.003951, allocations: 8.344 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.003952, allocations: 0 / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.003956, allocations: 4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.003961, allocations: 9.5 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.004237, allocations: 0.5421 MB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.004238, allocations: 0 / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.004248, allocations: 5.125 kB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00425, allocations: 3.938 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.004257, allocations: 7.938 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.00426, allocations: 11.2 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.004261, allocations: 0 / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.152e-05/0.004313, allocations: 84.03 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.004327, allocations: 4 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.004338, allocations: 11.92 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.004346, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.004357, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.004359, allocations: 4 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.004403, allocations: 135.7 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004403, allocations: 1.188 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001199/0.004523, allocations: 15.89 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.47e-05/0.004588, allocations: 96.31 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.385e-05/0.004652, allocations: 27.61 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.004653, allocations: 1.062 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.899e-06/0.004663, allocations: 11.69 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.69e-05/0.00476, allocations: 5.344 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.004986, allocations: 176.7 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.327e-05/0.00502, allocations: 60.44 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.005041, allocations: 0.6562 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.005062, allocations: 12.5 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.005063, allocations: 2.406 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.001653/0.006716, allocations: 348.5 kB / 0.8167 GB, free: 12.07 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.350039768964052]