Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.0013/0.0013, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009237/0.0009237, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9401/0.9401, allocations: 177.2 MB / 204.2 MB, free: 5.605 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.889/1.889, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8115 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.22e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002496/0.002528, allocations: 0.8275 MB / 0.8124 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001648/0.002693, allocations: 40.84 kB / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.002756, allocations: 0 / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.942e-05/0.002815, allocations: 12.89 kB / 0.8124 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.002925, allocations: 15.88 kB / 0.8124 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000104/0.003029, allocations: 15.98 kB / 0.8124 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.003158, allocations: 68.45 kB / 0.8125 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.003294, allocations: 35.91 kB / 0.8125 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003399, allocations: 45.53 kB / 0.8126 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.003439, allocations: 19.91 kB / 0.8126 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.003461, allocations: 4 kB / 0.8126 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.003469, allocations: 4 kB / 0.8126 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.003488, allocations: 13.47 kB / 0.8126 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.003518, allocations: 19.92 kB / 0.8126 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.00363, allocations: 35.83 kB / 0.8127 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.003634, allocations: 0 / 0.8127 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.392e-06/0.003635, allocations: 4.469 kB / 0.8127 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.00364, allocations: 1 kB / 0.8127 GB, free: 15.45 MB / 0.7292 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.0003862/0.004026, allocations: 400 kB / 0.8131 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.004068, allocations: 12.03 kB / 0.8131 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.004111, allocations: 22.44 kB / 0.8131 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.004258, allocations: 136.4 kB / 0.8132 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.004271, allocations: 12.36 kB / 0.8132 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.004283, allocations: 8.375 kB / 0.8132 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.004416, allocations: 87.8 kB / 0.8133 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004425, allocations: 0.9062 kB / 0.8133 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.004436, allocations: 4.375 kB / 0.8133 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.004446, allocations: 8.844 kB / 0.8133 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.004491, allocations: 27.92 kB / 0.8134 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.004978, allocations: 0.7431 MB / 0.8141 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.375e-05/0.005072, allocations: 265.4 kB / 0.8143 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.005108, allocations: 130.9 kB / 0.8145 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.005135, allocations: 123.7 kB / 0.8146 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.005179, allocations: 161.2 kB / 0.8147 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.00518, allocations: 0 / 0.8147 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.313e-05/0.005234, allocations: 34.42 kB / 0.8148 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.00529, allocations: 174.5 kB / 0.8149 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.005403, allocations: 205 kB / 0.8151 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.005412, allocations: 25.7 kB / 0.8152 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.005483, allocations: 174.5 kB / 0.8153 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.005486, allocations: 1.375 kB / 0.8153 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.005515, allocations: 31.33 kB / 0.8154 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.005633, allocations: 0.4923 MB / 0.8158 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.005645, allocations: 1.75 kB / 0.8158 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/0.00569, allocations: 81.48 kB / 0.8159 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/0.005765, allocations: 91.58 kB / 0.816 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.005767, allocations: 0 / 0.816 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000124/0.005891, allocations: 88.23 kB / 0.8161 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.005905, allocations: 4 kB / 0.8161 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.005912, allocations: 4 kB / 0.8161 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.005925, allocations: 0 / 0.8161 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.00598, allocations: 17.45 kB / 0.8161 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.005988, allocations: 11.88 kB / 0.8161 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.006015, allocations: 15.94 kB / 0.8161 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.00602, allocations: 4 kB / 0.8161 GB, free: 11.61 MB / 0.7292 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.095e-05/0.006111, allocations: 276.8 kB / 0.8164 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.006157, allocations: 152.8 kB / 0.8166 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.006205, allocations: 162 kB / 0.8167 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.214e-05/0.006267, allocations: 268.1 kB / 0.817 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.317e-05/0.00633, allocations: 272 kB / 0.8172 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.17e-05/0.006392, allocations: 270.7 kB / 0.8175 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.006576, allocations: 0.5077 MB / 0.818 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/0.00661, allocations: 148.8 kB / 0.8181 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.006643, allocations: 156.8 kB / 0.8183 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-05/0.006708, allocations: 268 kB / 0.8185 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.006769, allocations: 264.1 kB / 0.8188 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-05/0.00683, allocations: 272 kB / 0.819 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.049e-05/0.006891, allocations: 268.6 kB / 0.8193 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.007028, allocations: 455.8 kB / 0.8197 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.007082, allocations: 158 kB / 0.8199 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.007151, allocations: 268 kB / 0.8201 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.716e-05/0.007208, allocations: 152.9 kB / 0.8203 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.007274, allocations: 269.3 kB / 0.8205 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.007309, allocations: 152.8 kB / 0.8207 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.716e-05/0.007366, allocations: 146.6 kB / 0.8208 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007366, allocations: 0 / 0.8208 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001552/0.007522, allocations: 12.39 kB / 0.8208 GB, free: 6.621 MB / 0.7292 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.0001661/0.007688, allocations: 226.1 kB / 0.821 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.007829, allocations: 27.66 kB / 0.8211 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.007832, allocations: 0 / 0.8211 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.007836, allocations: 4 kB / 0.8211 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.008162, allocations: 0.7061 MB / 0.8218 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.008412, allocations: 277.6 kB / 0.822 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.008446, allocations: 64.91 kB / 0.8221 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.008475, allocations: 1.766 kB / 0.8221 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.008495, allocations: 12.5 kB / 0.8221 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of SimCode: time 6.72e-07/0.008496, allocations: 1.062 kB / 0.8221 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.001818/0.01031, allocations: 316.3 kB / 0.8224 GB, free: 4.957 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.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.039696391671896]