Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.001205/0.001205, allocations: 78.66 kB / 20.68 MB, free: 3.824 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.001523/0.001523, allocations: 180.9 kB / 24.09 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 1.004/1.004, 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.828/1.828, allocations: 377.9 MB / 0.6239 GB, free: 8.441 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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.915e-05, allocations: 2.312 kB / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001538/0.001558, allocations: 0.8137 MB / 0.8128 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.001672, allocations: 36.88 kB / 0.8129 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.001723, allocations: 4 kB / 0.8129 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.001756, allocations: 11.86 kB / 0.8129 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.56e-05/0.001832, allocations: 12.59 kB / 0.8129 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.066e-05/0.001872, allocations: 23.97 kB / 0.8129 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.848e-05/0.001961, allocations: 65.52 kB / 0.813 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.002067, allocations: 23.98 kB / 0.813 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.843e-05/0.002165, allocations: 51.77 kB / 0.813 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.002199, allocations: 11.92 kB / 0.813 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.002216, allocations: 9.531 kB / 0.8131 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.002223, allocations: 4 kB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.002242, allocations: 15.91 kB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.002266, allocations: 19.94 kB / 0.8131 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.002383, allocations: 41.02 kB / 0.8131 GB, free: 360 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002385, allocations: 0 / 0.8131 GB, free: 360 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002386, allocations: 0 / 0.8131 GB, free: 360 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.00239, allocations: 1.594 kB / 0.8131 GB, free: 360 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.0003439/0.002734, allocations: 408.2 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.002773, allocations: 8.031 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.002802, allocations: 16.89 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.002917, allocations: 145.1 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.002927, allocations: 4.375 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.002937, allocations: 12.84 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.24e-05/0.003029, allocations: 83.17 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.003036, allocations: 192 / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.003044, allocations: 4.375 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.003049, allocations: 384 / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.00308, allocations: 31.8 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006882/0.003768, allocations: 0.7234 MB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.791e-05/0.003856, allocations: 265.6 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.003892, allocations: 135.7 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.003922, allocations: 119.2 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.003977, allocations: 161.7 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.051e-06/0.003978, allocations: 4 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.54e-05/0.004033, allocations: 29.66 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.004091, allocations: 176 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.004194, allocations: 196 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.0042, allocations: 25.7 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.004281, allocations: 180.2 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.004284, allocations: 4 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.004314, allocations: 23.36 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.00444, allocations: 0.5 MB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-06/0.004447, allocations: 4 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.004487, allocations: 75.64 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.489e-05/0.004552, allocations: 91.98 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004553, allocations: 0 / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.642e-05/0.00465, allocations: 79.11 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.004662, allocations: 8 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.004667, allocations: 3.984 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.004676, allocations: 4.5 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/0.004719, allocations: 12 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.004723, allocations: 4.562 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.004748, allocations: 17.52 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-06/0.004751, allocations: 0 / 0.8166 GB, free: 12.57 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 9.362e-05/0.004845, allocations: 283.6 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.004894, allocations: 152.9 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.004947, allocations: 159.3 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.35e-05/0.005011, allocations: 268 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.246e-05/0.005073, allocations: 276 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.366e-05/0.005137, allocations: 275.9 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.005322, allocations: 488.5 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/0.005361, allocations: 152.9 kB / 0.8185 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.005394, allocations: 148.8 kB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.699e-05/0.005461, allocations: 268.6 kB / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/0.005532, allocations: 269 kB / 0.8192 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-05/0.005604, allocations: 276.1 kB / 0.8194 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.737e-05/0.005672, allocations: 272 kB / 0.8197 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.005808, allocations: 448.8 kB / 0.8201 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.005862, allocations: 160.8 kB / 0.8203 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.005934, allocations: 268.9 kB / 0.8205 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.005992, allocations: 152.8 kB / 0.8207 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.006057, allocations: 264.4 kB / 0.8209 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.006091, allocations: 148.6 kB / 0.8211 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.006151, allocations: 148.5 kB / 0.8212 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006151, allocations: 0 / 0.8212 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001558/0.006307, allocations: 11.95 kB / 0.8212 GB, free: 7.605 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 0.0001023/0.006409, allocations: 221 kB / 0.8214 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.155e-05/0.006491, allocations: 37.36 kB / 0.8215 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006492, allocations: 0 / 0.8215 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.006493, allocations: 0 / 0.8215 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.00684, allocations: 0.7062 MB / 0.8222 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.0071, allocations: 269.7 kB / 0.8224 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.44e-05/0.007144, allocations: 60.34 kB / 0.8225 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.00718, allocations: 10.91 kB / 0.8225 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.007221, allocations: 70.2 kB / 0.8226 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.007222, allocations: 5.031 kB / 0.8226 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of Templates: time 0.001843/0.009064, allocations: 339.5 kB / 0.8229 GB, free: 5.855 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.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.9193336786702275]