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.0009457/0.0009457, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001871/0.001871, allocations: 161.4 kB / 24.17 MB, free: 328 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.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.008/2.008, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.593e-06/1.593e-06, allocations: 0 / 0.7601 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.488e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001853/0.001878, allocations: 0.8723 MB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.002003, allocations: 43.72 kB / 0.761 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.002049, allocations: 0 / 0.761 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.002083, allocations: 13.34 kB / 0.761 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.443e-05/0.002167, allocations: 18.47 kB / 0.761 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.189e-05/0.002209, allocations: 19.98 kB / 0.761 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.733e-05/0.002306, allocations: 61.92 kB / 0.7611 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.002412, allocations: 37.14 kB / 0.7611 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.002515, allocations: 49.91 kB / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.607e-05/0.002552, allocations: 11.92 kB / 0.7612 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.002568, allocations: 5.25 kB / 0.7612 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.002575, allocations: 8 kB / 0.7612 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.002592, allocations: 7.984 kB / 0.7612 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.002615, allocations: 24.48 kB / 0.7612 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.554e-05/0.0027, allocations: 43.72 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002702, allocations: 0.5312 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002703, allocations: 0.5 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.002706, allocations: 1.438 kB / 0.7612 GB, free: 5.477 MB / 0.7136 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.0002853/0.002992, allocations: 280.6 kB / 0.7615 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.003025, allocations: 8.031 kB / 0.7615 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.003052, allocations: 16.92 kB / 0.7615 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.003179, allocations: 130.7 kB / 0.7617 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.00319, allocations: 8.375 kB / 0.7617 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.003198, allocations: 8.312 kB / 0.7617 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.293e-05/0.00329, allocations: 81.36 kB / 0.7618 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.003299, allocations: 192 / 0.7618 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.003309, allocations: 8.375 kB / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003314, allocations: 384 / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.003342, allocations: 24.61 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.003683, allocations: 0.4941 MB / 0.7623 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.606e-05/0.003739, allocations: 169.1 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.00376, allocations: 80.89 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.003778, allocations: 75.28 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.003812, allocations: 116 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.424e-06/0.003815, allocations: 4.078 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.181e-05/0.003866, allocations: 37.62 kB / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.003905, allocations: 126.7 kB / 0.7629 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.00399, allocations: 148.1 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.003998, allocations: 26.36 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.004048, allocations: 123.8 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.004057, allocations: 8.703 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.004086, allocations: 29.59 kB / 0.7632 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.004173, allocations: 321.6 kB / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.004185, allocations: 7.984 kB / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.004228, allocations: 58.83 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.915e-05/0.004297, allocations: 69.91 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.0043, allocations: 0 / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001125/0.004413, allocations: 75.3 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.004426, allocations: 4 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.004436, allocations: 4 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.004451, allocations: 0 / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.252e-05/0.004504, allocations: 19.94 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.004509, allocations: 11.23 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.004533, allocations: 7.938 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.004537, allocations: 4 kB / 0.7637 GB, free: 2.719 MB / 0.7136 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 6.772e-05/0.004605, allocations: 181.1 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.004649, allocations: 112.9 kB / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.004688, allocations: 112.8 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.166e-05/0.00473, allocations: 180.2 kB / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.587e-05/0.004776, allocations: 180.3 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.255e-05/0.004818, allocations: 179.1 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.004954, allocations: 341.3 kB / 0.765 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/0.004978, allocations: 101 kB / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.005011, allocations: 112.9 kB / 0.7652 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.121e-05/0.005053, allocations: 176.3 kB / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.005095, allocations: 180.3 kB / 0.7655 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.219e-05/0.005137, allocations: 180.2 kB / 0.7657 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.171e-05/0.005179, allocations: 181.8 kB / 0.7658 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.005279, allocations: 315.7 kB / 0.7661 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.005331, allocations: 116.9 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.005379, allocations: 188.2 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.005425, allocations: 101.3 kB / 0.7665 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.005476, allocations: 181.5 kB / 0.7667 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.005504, allocations: 109 kB / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.76e-05/0.005531, allocations: 31.06 kB / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005531, allocations: 0.5938 kB / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001336/0.005665, allocations: 15.89 kB / 0.7669 GB, free: 15.34 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.0001008/0.005766, allocations: 160.8 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.581e-05/0.005831, allocations: 26.05 kB / 0.767 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.005836, allocations: 1.438 kB / 0.767 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.005837, allocations: 0 / 0.767 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.006069, allocations: 463.6 kB / 0.7675 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.006593, allocations: 229 kB / 0.7677 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.006624, allocations: 59.34 kB / 0.7678 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.453e-05/0.006659, allocations: 6.984 kB / 0.7678 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.006689, allocations: 55.38 kB / 0.7678 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.00669, allocations: 0.9375 kB / 0.7678 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.001809/0.008499, allocations: 335.3 kB / 0.7681 GB, free: 13.99 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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: 5.0598134403117]