Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008571/0.008571, allocations: 102.2 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 192.1 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 71.88 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002346/1.104, allocations: 0.834 MB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000129/1.104, allocations: 37.95 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/1.104, allocations: 1 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.774e-05/1.104, allocations: 10.39 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/1.104, allocations: 9.516 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.671e-05/1.104, allocations: 24.52 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000155/1.105, allocations: 64.14 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/1.105, allocations: 37.47 kB / 1.089 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/1.105, allocations: 26.34 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/1.105, allocations: 30.83 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/1.105, allocations: 5.688 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/1.105, allocations: 10.16 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/1.105, allocations: 16.7 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/1.105, allocations: 41.02 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/1.105, allocations: 71.62 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.105, allocations: 0 / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.787e-06/1.105, allocations: 1.156 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.747e-06/1.105, allocations: 0 / 1.089 GB, free: 4.754 MB / 0.8575 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.0005176/1.106, allocations: 377.8 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.106, allocations: 10.08 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/1.106, allocations: 13.59 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/1.106, allocations: 195.9 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/1.106, allocations: 8.281 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/1.106, allocations: 4.75 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/1.106, allocations: 91.03 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.106, allocations: 8.125 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/1.107, allocations: 5.156 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.107, allocations: 3 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.545e-05/1.107, allocations: 35.17 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/1.107, allocations: 434.7 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/1.107, allocations: 49.03 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/1.107, allocations: 20.73 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/1.107, allocations: 1.422 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/1.107, allocations: 36.61 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.107, allocations: 0 / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001792/1.108, allocations: 56.22 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/1.108, allocations: 82.7 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/1.108, allocations: 159.4 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/1.108, allocations: 25.7 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/1.108, allocations: 103.9 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/1.108, allocations: 6.172 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/1.108, allocations: 17.59 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/1.108, allocations: 324.6 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/1.108, allocations: 4.078 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/1.108, allocations: 19.64 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/1.108, allocations: 23.53 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.108, allocations: 4.688 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.187e-05/1.108, allocations: 57.06 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.108, allocations: 10.19 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.108, allocations: 4.641 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.108, allocations: 0.8125 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/1.108, allocations: 6.422 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.108, allocations: 5.531 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/1.108, allocations: 10.16 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/1.108, allocations: 1.156 kB / 1.091 GB, free: 2.688 MB / 0.8575 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 6.096e-05/1.108, allocations: 114.1 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/1.108, allocations: 13.19 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/1.108, allocations: 19.8 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.108, allocations: 1.156 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.108, allocations: 1.25 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.108, allocations: 0.8438 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/1.109, allocations: 466.7 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.109, allocations: 0 / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/1.109, allocations: 3.719 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.109, allocations: 5.641 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/1.109, allocations: 8.844 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.109, allocations: 1.125 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.109, allocations: 1.062 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.742e-05/1.109, allocations: 79.91 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/1.109, allocations: 94.8 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/1.109, allocations: 1.578 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/1.109, allocations: 8.75 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/1.109, allocations: 2.953 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/1.109, allocations: 0.8438 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.473e-05/1.109, allocations: 120 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.109, allocations: 1.125 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000184/1.109, allocations: 6.562 kB / 1.092 GB, free: 1.766 MB / 0.8575 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.0001173/1.109, allocations: 99.52 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.34e-05/1.11, allocations: 28 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.11, allocations: 0 / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/1.11, allocations: 8.875 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/1.11, allocations: 10.33 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/1.11, allocations: 163.4 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/1.11, allocations: 0.697 MB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.825e-05/1.11, allocations: 6.656 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/1.11, allocations: 12.16 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/1.11, allocations: 0 / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.00262/1.113, allocations: 472 kB / 1.094 GB, free: 16.71 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches