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.001392/0.001392, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.001227/0.001227, allocations: 181.3 kB / 24.08 MB, free: 424 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.9546/0.9546, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.874/1.874, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.303e-06/1.303e-06, allocations: 0 / 0.812 GB, free: 300 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.362e-05, allocations: 2.312 kB / 0.812 GB, free: 296 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002014/0.002028, allocations: 0.8156 MB / 0.8128 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 9.84e-05/0.002126, allocations: 39.78 kB / 0.8128 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.002166, allocations: 0 / 0.8128 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.002194, allocations: 8.531 kB / 0.8129 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.571e-05/0.002259, allocations: 15.86 kB / 0.8129 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.42e-05/0.002294, allocations: 20.67 kB / 0.8129 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.042e-05/0.002384, allocations: 63.69 kB / 0.813 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.002481, allocations: 36.84 kB / 0.813 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.002569, allocations: 39.91 kB / 0.813 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.549e-05/0.002605, allocations: 20.7 kB / 0.813 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.002619, allocations: 4 kB / 0.813 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-06/0.002625, allocations: 6.406 kB / 0.8131 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.002641, allocations: 11.94 kB / 0.8131 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.002667, allocations: 19.94 kB / 0.8131 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.864e-05/0.002735, allocations: 39.77 kB / 0.8131 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002737, allocations: 0 / 0.8131 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002738, allocations: 0 / 0.8131 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.002741, allocations: 1.594 kB / 0.8131 GB, free: 15.18 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.0002781/0.003019, allocations: 408 kB / 0.8135 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.003052, allocations: 12.03 kB / 0.8135 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.003079, allocations: 24.78 kB / 0.8135 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.003182, allocations: 144.9 kB / 0.8137 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.00319, allocations: 384 / 0.8137 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.0032, allocations: 13.75 kB / 0.8137 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.29e-05/0.003282, allocations: 83.47 kB / 0.8138 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.003288, allocations: 192 / 0.8138 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.003298, allocations: 1.531 kB / 0.8138 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.003303, allocations: 384 / 0.8138 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.689e-05/0.00333, allocations: 31.84 kB / 0.8138 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.003676, allocations: 0.7236 MB / 0.8145 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.524e-05/0.003741, allocations: 261.4 kB / 0.8148 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.003772, allocations: 131.9 kB / 0.8149 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/0.004053, allocations: 119.2 kB / 0.815 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.004093, allocations: 164.6 kB / 0.8152 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.004094, allocations: 0.875 kB / 0.8152 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 4.358e-05/0.004138, allocations: 29.7 kB / 0.8152 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.004179, allocations: 175.9 kB / 0.8154 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.004268, allocations: 201.7 kB / 0.8156 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.004276, allocations: 29.7 kB / 0.8156 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.004334, allocations: 166.5 kB / 0.8157 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.004336, allocations: 0.5 kB / 0.8157 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.004363, allocations: 35.84 kB / 0.8158 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.004457, allocations: 496.1 kB / 0.8162 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-06/0.004464, allocations: 13.92 kB / 0.8163 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.004499, allocations: 77.42 kB / 0.8163 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.527e-05/0.004555, allocations: 87.11 kB / 0.8164 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004556, allocations: 0.9062 kB / 0.8164 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.652e-05/0.004643, allocations: 83.17 kB / 0.8165 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.004651, allocations: 5.312 kB / 0.8165 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.004656, allocations: 4 kB / 0.8165 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.004667, allocations: 0 / 0.8165 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.981e-05/0.004706, allocations: 15.94 kB / 0.8165 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.004711, allocations: 8.828 kB / 0.8165 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.004734, allocations: 19.81 kB / 0.8166 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.004737, allocations: 4.844 kB / 0.8166 GB, free: 11.39 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 7.231e-05/0.00481, allocations: 275.8 kB / 0.8168 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.004854, allocations: 154.1 kB / 0.817 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.004895, allocations: 156.7 kB / 0.8171 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.964e-05/0.004945, allocations: 276 kB / 0.8174 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.964e-05/0.004995, allocations: 269 kB / 0.8176 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-05/0.005045, allocations: 268 kB / 0.8179 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.005192, allocations: 0.4899 MB / 0.8184 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.139e-05/0.005224, allocations: 148.9 kB / 0.8185 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.005253, allocations: 148.8 kB / 0.8187 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.256e-05/0.005305, allocations: 272.1 kB / 0.8189 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.005355, allocations: 269.4 kB / 0.8192 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.863e-05/0.005404, allocations: 268 kB / 0.8194 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.874e-05/0.005452, allocations: 268.1 kB / 0.8197 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.005554, allocations: 453.4 kB / 0.8201 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.005595, allocations: 160.8 kB / 0.8203 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.005647, allocations: 268.1 kB / 0.8205 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.824e-05/0.005695, allocations: 144.9 kB / 0.8207 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.005748, allocations: 271.1 kB / 0.8209 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.005776, allocations: 152.9 kB / 0.8211 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.005817, allocations: 141.2 kB / 0.8212 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005817, allocations: 0 / 0.8212 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001423/0.005959, allocations: 15.89 kB / 0.8212 GB, free: 6.434 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 7.685e-05/0.006036, allocations: 214.4 kB / 0.8214 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.584e-05/0.006092, allocations: 41.83 kB / 0.8215 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006093, allocations: 0 / 0.8215 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.006094, allocations: 0 / 0.8215 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.006346, allocations: 0.7072 MB / 0.8221 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.006754, allocations: 277.5 kB / 0.8224 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.517e-05/0.006779, allocations: 55.36 kB / 0.8225 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.006806, allocations: 14.52 kB / 0.8225 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.006835, allocations: 75.08 kB / 0.8226 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.006836, allocations: 0 / 0.8226 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of Templates: time 0.001457/0.008293, allocations: 331.9 kB / 0.8229 GB, free: 4.688 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: 4.965365360956639]