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.001061/0.001061, 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.001145/0.001145, allocations: 161 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 1.057/1.057, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.978/1.978, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.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.313e-06/1.313e-06, allocations: 0 / 0.8115 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.95e-05, allocations: 3.219 kB / 0.8115 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001884/0.001904, allocations: 0.8237 MB / 0.8124 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.00202, allocations: 41.19 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.002075, allocations: 4 kB / 0.8124 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.068e-05/0.002116, allocations: 7.875 kB / 0.8124 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.002195, allocations: 11.88 kB / 0.8124 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.118e-05/0.002247, allocations: 21.78 kB / 0.8124 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.00235, allocations: 59.84 kB / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.002462, allocations: 27.97 kB / 0.8125 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.002546, allocations: 39.84 kB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.002585, allocations: 21.25 kB / 0.8126 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.002609, allocations: 8 kB / 0.8126 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.002618, allocations: 4 kB / 0.8126 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.002638, allocations: 19.86 kB / 0.8126 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.002669, allocations: 25.52 kB / 0.8126 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.46e-05/0.002763, allocations: 43.81 kB / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.002765, allocations: 0 / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002766, allocations: 0 / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.00277, allocations: 0.7188 kB / 0.8127 GB, free: 0.5508 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.000397/0.003167, allocations: 404.8 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.003203, allocations: 12.03 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.003243, allocations: 14.55 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.003424, allocations: 140.4 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.003435, allocations: 4.375 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.003454, allocations: 12.38 kB / 0.8132 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.003608, allocations: 88.8 kB / 0.8133 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.00362, allocations: 192 / 0.8133 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.003628, allocations: 1.688 kB / 0.8133 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.003637, allocations: 4.375 kB / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/0.003688, allocations: 35.8 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.004081, allocations: 455.4 kB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.492e-05/0.004126, allocations: 62.25 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.004152, allocations: 20.88 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.004158, allocations: 0 / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.004179, allocations: 41.38 kB / 0.8139 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.00418, allocations: 1.656 kB / 0.8139 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001219/0.004302, allocations: 49.59 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.004331, allocations: 82.7 kB / 0.814 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.004417, allocations: 185.8 kB / 0.8142 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.004425, allocations: 25.7 kB / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.004526, allocations: 158.7 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.004538, allocations: 15.88 kB / 0.8144 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.004567, allocations: 24.23 kB / 0.8144 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.004676, allocations: 496.1 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.00469, allocations: 6.188 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.004709, allocations: 23.36 kB / 0.8149 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.004742, allocations: 27.38 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.004744, allocations: 0 / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.378e-05/0.004807, allocations: 55.75 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.004818, allocations: 4 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.004821, allocations: 0 / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.004838, allocations: 8.078 kB / 0.815 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.004886, allocations: 7.984 kB / 0.815 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.004891, allocations: 4.438 kB / 0.815 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.004905, allocations: 0.5312 kB / 0.815 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.004909, allocations: 4 kB / 0.815 GB, free: 13.89 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.888e-05/0.004968, allocations: 162.4 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.004991, allocations: 4 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.005011, allocations: 7.469 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.005013, allocations: 3.984 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.005017, allocations: 2.281 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.00502, allocations: 3.938 kB / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.005278, allocations: 0.5421 MB / 0.8157 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.005279, allocations: 4 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.005289, allocations: 3.984 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.005292, allocations: 9.125 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.005298, allocations: 7.875 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.005299, allocations: 0 / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.0053, allocations: 0.5625 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.287e-05/0.005353, allocations: 88.94 kB / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.005368, allocations: 7.984 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.005377, allocations: 4.781 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.00539, allocations: 0 / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.005404, allocations: 4 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-06/0.005405, allocations: 3.469 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.00545, allocations: 140.9 kB / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00545, allocations: 0 / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001195/0.005569, allocations: 19.89 kB / 0.816 GB, free: 12.8 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.206e-05/0.005631, allocations: 95.23 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.034e-05/0.005692, allocations: 23.62 kB / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.005693, allocations: 2.125 kB / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.177e-06/0.005702, allocations: 11.69 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.42e-05/0.005796, allocations: 4 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.006018, allocations: 170.7 kB / 0.8163 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.006049, allocations: 60.38 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.006071, allocations: 4 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.006091, allocations: 13.56 kB / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.006092, allocations: 0 / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.001705/0.007797, allocations: 345.4 kB / 0.8167 GB, free: 12.02 MB / 0.7761 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.389250127132982]