Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 109.8 kB / 16.37 MB, free: 6.016 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.001544/0.001544, allocations: 195.2 kB / 17.31 MB, free: 5.613 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437.1 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 64.06 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3603, allocations: 151.6 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002159/0.3625, allocations: 0.8367 MB / 1.02 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 9.984e-05/0.3627, allocations: 43.78 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.3627, allocations: 4 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.3628, allocations: 7.875 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.3628, allocations: 3.938 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.324e-05/0.3629, allocations: 19.97 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.363, allocations: 71.69 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.3632, allocations: 47.95 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.3632, allocations: 27.86 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.3633, allocations: 27.8 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.3633, allocations: 4 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.3633, allocations: 12 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.3634, allocations: 19.92 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.3634, allocations: 27.81 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.3635, allocations: 79.62 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3636, allocations: 0 / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3636, allocations: 0 / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3636, allocations: 0 / 1.02 GB, free: 8.672 MB / 0.795 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.0004266/0.364, allocations: 371.2 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.364, allocations: 12.86 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.3641, allocations: 12.84 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.3643, allocations: 200.1 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3643, allocations: 4.375 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3643, allocations: 8.375 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3645, allocations: 87.86 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3645, allocations: 4.172 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3645, allocations: 11.94 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3645, allocations: 0 / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.302e-05/0.3646, allocations: 39.92 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.3652, allocations: 440.6 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.021e-05/0.3652, allocations: 37.19 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.3653, allocations: 25.78 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.3653, allocations: 4 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.3653, allocations: 30.56 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3653, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.3655, allocations: 61.47 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3655, allocations: 81.11 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.3657, allocations: 156.9 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3657, allocations: 29.7 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.3658, allocations: 108 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.3658, allocations: 3.906 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.3658, allocations: 17.72 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.366, allocations: 314.8 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.366, allocations: 8 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.366, allocations: 25.66 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.725e-05/0.366, allocations: 25.72 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3661, allocations: 0 / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.485e-05/0.3661, allocations: 61.53 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3662, allocations: 8 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3662, allocations: 3.938 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3662, allocations: 0 / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.3663, allocations: 4 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3663, allocations: 4.062 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.3663, allocations: 11.84 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.3663, allocations: 3.984 kB / 1.022 GB, free: 6.238 MB / 0.795 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 7.32e-05/0.3664, allocations: 116.2 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3664, allocations: 7.906 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.3665, allocations: 11.81 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3665, allocations: 0 / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3665, allocations: 3.938 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3665, allocations: 4 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.3669, allocations: 474.8 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3669, allocations: 7.984 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.3669, allocations: 3.938 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.3669, allocations: 4 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3669, allocations: 0 / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3669, allocations: 3.938 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3669, allocations: 0 / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.991e-05/0.367, allocations: 81.91 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.3671, allocations: 89 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.3671, allocations: 0 / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.181e-05/0.3671, allocations: 4 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.3671, allocations: 0 / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.3672, allocations: 0 / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.195e-05/0.3672, allocations: 123.3 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3672, allocations: 0 / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001868/0.3674, allocations: 12 kB / 1.023 GB, free: 5.199 MB / 0.795 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.0001197/0.3676, allocations: 103.2 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.54e-05/0.3677, allocations: 16 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3677, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.3677, allocations: 7.938 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.3678, allocations: 16.19 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.3681, allocations: 162.8 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3684, allocations: 0.6885 MB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.3684, allocations: 12.5 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.3685, allocations: 11.44 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3685, allocations: 4 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of Templates: time 0.00254/0.371, allocations: 444.5 kB / 1.024 GB, free: 3.68 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches