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.001006/0.001006, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001114/0.001114, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.002/1.002, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.845/1.845, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.523e-06/1.523e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.58e-05, allocations: 3.078 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001295/0.001311, allocations: 0.8205 MB / 0.8136 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001099/0.001421, allocations: 39.78 kB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.001469, allocations: 4 kB / 0.8136 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.001503, allocations: 9.219 kB / 0.8136 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.554e-05/0.001578, allocations: 7.875 kB / 0.8136 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.068e-05/0.001619, allocations: 23.97 kB / 0.8137 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.001702, allocations: 67.77 kB / 0.8137 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.001799, allocations: 25.58 kB / 0.8138 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.001903, allocations: 43.89 kB / 0.8138 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.001944, allocations: 11.92 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.00196, allocations: 5.875 kB / 0.8138 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.001967, allocations: 8 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.001988, allocations: 11.92 kB / 0.8138 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.002014, allocations: 23.92 kB / 0.8139 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.1e-05/0.002105, allocations: 43.77 kB / 0.8139 GB, free: 336 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002107, allocations: 0.7188 kB / 0.8139 GB, free: 336 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002108, allocations: 0 / 0.8139 GB, free: 336 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.002119, allocations: 4.469 kB / 0.8139 GB, free: 332 kB / 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.0003087/0.002427, allocations: 412.9 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.002459, allocations: 8.031 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.002486, allocations: 17.42 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.002591, allocations: 133.8 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.0026, allocations: 8.375 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.002608, allocations: 4.375 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.104e-05/0.002699, allocations: 93.44 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.002705, allocations: 0.7188 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.002712, allocations: 1.75 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.002717, allocations: 4.375 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.993e-05/0.002747, allocations: 31.8 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.003148, allocations: 0.7235 MB / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.409e-05/0.003222, allocations: 261.4 kB / 0.8155 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.003253, allocations: 130.9 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.003279, allocations: 128.5 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.003318, allocations: 152.6 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.003319, allocations: 0 / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.949e-05/0.003368, allocations: 42.95 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.003422, allocations: 170.6 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.003686, allocations: 203.7 kB / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-06/0.003693, allocations: 25.7 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.003757, allocations: 175.1 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.003759, allocations: 4.906 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.003787, allocations: 31.36 kB / 0.8166 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.003894, allocations: 0.4884 MB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-06/0.0039, allocations: 0.7812 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.935e-05/0.003939, allocations: 77.47 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.357e-05/0.004003, allocations: 92.73 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.004005, allocations: 4 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001018/0.004107, allocations: 84.5 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.004119, allocations: 8 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.004123, allocations: 0 / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.004133, allocations: 7.938 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.004178, allocations: 18.56 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.004182, allocations: 3.938 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.004204, allocations: 11.89 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.004209, allocations: 4 kB / 0.8173 GB, free: 12.53 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 8.353e-05/0.004292, allocations: 283.7 kB / 0.8176 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.004337, allocations: 152.8 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.004377, allocations: 153.2 kB / 0.8179 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-05/0.004428, allocations: 268.1 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.136e-05/0.00448, allocations: 272.5 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.201e-05/0.004532, allocations: 274 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.004687, allocations: 0.4887 MB / 0.8192 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/0.004716, allocations: 144.9 kB / 0.8193 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.004746, allocations: 144.9 kB / 0.8194 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.614e-05/0.004802, allocations: 272 kB / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.004854, allocations: 264.7 kB / 0.8199 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.053e-05/0.004905, allocations: 272 kB / 0.8202 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-05/0.004961, allocations: 268.7 kB / 0.8205 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.005081, allocations: 455.9 kB / 0.8209 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.005125, allocations: 159.9 kB / 0.821 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.005184, allocations: 272 kB / 0.8213 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/0.005233, allocations: 148.9 kB / 0.8214 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.005289, allocations: 264.4 kB / 0.8217 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.005319, allocations: 152.8 kB / 0.8218 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.005365, allocations: 144.5 kB / 0.822 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005365, allocations: 0 / 0.822 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001453/0.005511, allocations: 11.95 kB / 0.822 GB, free: 7.582 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 8.43e-05/0.005595, allocations: 212.9 kB / 0.8222 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.845e-05/0.005653, allocations: 39.56 kB / 0.8222 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.005655, allocations: 0.9375 kB / 0.8222 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.005657, allocations: 7.938 kB / 0.8222 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.005922, allocations: 0.7073 MB / 0.8229 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.006129, allocations: 269.7 kB / 0.8232 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.867e-05/0.006158, allocations: 59.34 kB / 0.8233 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.006188, allocations: 10.91 kB / 0.8233 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.006217, allocations: 70.2 kB / 0.8233 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.006218, allocations: 4.969 kB / 0.8233 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of Templates: time 0.001658/0.007876, allocations: 342.2 kB / 0.8237 GB, free: 5.828 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.12839568965137]