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.002435/0.002435, allocations: 79.75 kB / 20.23 MB, free: 4.043 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.002023/0.002023, allocations: 157.4 kB / 23.55 MB, free: 0.7305 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.154/3.154, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] 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.164e-06/2.164e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.424e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.003128/0.003163, allocations: 0.8094 MB / 0.8116 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002245/0.003387, allocations: 43.78 kB / 0.8117 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.003475, allocations: 0 / 0.8117 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 6.993e-05/0.003545, allocations: 12.89 kB / 0.8117 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.003691, allocations: 11.88 kB / 0.8117 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.55e-05/0.003776, allocations: 11.98 kB / 0.8117 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.003982, allocations: 68.56 kB / 0.8118 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.004175, allocations: 35.89 kB / 0.8118 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.004315, allocations: 37.59 kB / 0.8118 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.004374, allocations: 19.91 kB / 0.8118 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.0044, allocations: 8 kB / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.004411, allocations: 4 kB / 0.8119 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.004451, allocations: 20.52 kB / 0.8119 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.004488, allocations: 19.92 kB / 0.8119 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.00464, allocations: 72.47 kB / 0.812 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004643, allocations: 4 kB / 0.812 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004643, allocations: 1.156 kB / 0.812 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.004648, allocations: 0 / 0.812 GB, free: 0.9531 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.0006617/0.00531, allocations: 409.3 kB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.005362, allocations: 11.97 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.005442, allocations: 16.89 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.005781, allocations: 136.5 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.005804, allocations: 14.06 kB / 0.8125 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.005827, allocations: 8.375 kB / 0.8125 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.006102, allocations: 101.5 kB / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.006115, allocations: 192 / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.006133, allocations: 5.5 kB / 0.8126 GB, free: 196 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.00614, allocations: 384 / 0.8126 GB, free: 196 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.0063, allocations: 47.8 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/0.007233, allocations: 464 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.007369, allocations: 62.16 kB / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.007435, allocations: 30.09 kB / 0.8132 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.00745, allocations: 0 / 0.8132 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.007496, allocations: 37.38 kB / 0.8132 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.833e-06/0.007502, allocations: 7.984 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000266/0.007768, allocations: 49.59 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/0.007852, allocations: 77.61 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.008109, allocations: 197.8 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.008132, allocations: 30.42 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.008297, allocations: 158.6 kB / 0.8137 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.008312, allocations: 8.484 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.008376, allocations: 21.03 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003505/0.008727, allocations: 0.4923 MB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.008758, allocations: 4 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.008805, allocations: 27.31 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.232e-05/0.008897, allocations: 40.36 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.0089, allocations: 1.031 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001446/0.009044, allocations: 49.64 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.009065, allocations: 4.906 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.009071, allocations: 0 / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.0091, allocations: 4 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.009189, allocations: 8.828 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.009199, allocations: 7.875 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.009251, allocations: 14.11 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.009256, allocations: 0 / 0.8144 GB, free: 14.21 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 0.0001798/0.009436, allocations: 160.6 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.009503, allocations: 4 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.009537, allocations: 7.469 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.009539, allocations: 2.719 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.009543, allocations: 7.938 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.009553, allocations: 7.922 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.01032, allocations: 0.55 MB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01032, allocations: 0 / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.01035, allocations: 11.92 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01036, allocations: 1.562 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01037, allocations: 3.938 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.01037, allocations: 0 / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01037, allocations: 0 / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.01053, allocations: 84.64 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.01056, allocations: 16.72 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.01059, allocations: 7.938 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/0.01061, allocations: 1.875 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.01063, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.01064, allocations: 7.938 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001425/0.01078, allocations: 145.2 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01078, allocations: 0 / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000339/0.01112, allocations: 13.3 kB / 0.8154 GB, free: 13.11 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 0.0001758/0.0113, allocations: 95.25 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.01142, allocations: 24.58 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01143, allocations: 4 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.01146, allocations: 16.28 kB / 0.8155 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.0117, allocations: 14.44 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.01224, allocations: 178.6 kB / 0.8157 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.01236, allocations: 79.19 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.0124, allocations: 4 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.01244, allocations: 18.23 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of SimCode: time 7.62e-07/0.01244, allocations: 0 / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.004065/0.01651, allocations: 345.1 kB / 0.8162 GB, free: 12.29 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.408970160991885]