Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001615/0.001616, allocations: 191.5 kB / 16.14 MB, free: 6.719 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 69.22 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3165, allocations: 157.4 MB / 1.052 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002012/0.3185, allocations: 0.8842 MB / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.863e-05/0.3186, allocations: 35.84 kB / 1.053 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.3187, allocations: 7.938 kB / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.3187, allocations: 7.938 kB / 1.053 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-05/0.3188, allocations: 3.938 kB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.2e-05/0.3189, allocations: 19.98 kB / 1.053 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.544e-05/0.319, allocations: 67.69 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3191, allocations: 39.97 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.3192, allocations: 23.86 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.3192, allocations: 31.78 kB / 1.053 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3192, allocations: 4 kB / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.3193, allocations: 4 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.3193, allocations: 8 kB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.3193, allocations: 39.73 kB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.38e-05/0.3194, allocations: 64.05 kB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3194, allocations: 0 / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.11e-07/0.3194, allocations: 0 / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.3194, allocations: 0 / 1.053 GB, free: 7.543 MB / 0.8106 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.000417/0.3199, allocations: 387.2 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3199, allocations: 8.031 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3199, allocations: 8.844 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.3201, allocations: 196.1 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3202, allocations: 8.375 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.3202, allocations: 4.375 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3203, allocations: 101.2 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3204, allocations: 192 / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3204, allocations: 7.938 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3204, allocations: 4 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.3205, allocations: 35.97 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.321, allocations: 436.5 kB / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.58e-05/0.3211, allocations: 45.14 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.3211, allocations: 21.84 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.3211, allocations: 4.031 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.3212, allocations: 30.56 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3212, allocations: 4 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001626/0.3214, allocations: 53.48 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.3214, allocations: 85.09 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3216, allocations: 156.3 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.3216, allocations: 25.7 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.3217, allocations: 108 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.3217, allocations: 7.891 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.3217, allocations: 25.89 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3218, allocations: 314.8 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.3218, allocations: 11.98 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.249e-05/0.3219, allocations: 17.72 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.3219, allocations: 33.66 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3219, allocations: 0 / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.461e-05/0.322, allocations: 57.59 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.322, allocations: 4 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3221, allocations: 7.938 kB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3221, allocations: 0 / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.3221, allocations: 7.938 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3222, allocations: 0 / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.3222, allocations: 19.78 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.3222, allocations: 0 / 1.055 GB, free: 5.09 MB / 0.8106 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.882e-05/0.3223, allocations: 113.8 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.3223, allocations: 15.95 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.3224, allocations: 11.81 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3224, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3224, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3224, allocations: 4 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.3228, allocations: 466.8 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3228, allocations: 4 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.3228, allocations: 4.062 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.3228, allocations: 4 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3228, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3228, allocations: 3.984 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3228, allocations: 0 / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.3229, allocations: 77.78 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.323, allocations: 97.03 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.323, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.3231, allocations: 4 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.3231, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.3231, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.464e-05/0.3232, allocations: 122.5 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3232, allocations: 0 / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001922/0.3234, allocations: 12 kB / 1.056 GB, free: 4.059 MB / 0.8106 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.000129/0.3235, allocations: 99.25 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.307e-05/0.3236, allocations: 23.92 kB / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3236, allocations: 0 / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.3236, allocations: 4 kB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3238, allocations: 13.31 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.3241, allocations: 188.6 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3244, allocations: 0.6926 MB / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.3245, allocations: 8.375 kB / 1.057 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.3245, allocations: 11.44 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3245, allocations: 4 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of Templates: time 0.002281/0.3268, allocations: 440.7 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches