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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00146/0.00146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002002/0.002002, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 0.8686 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7052, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002011/0.7073, allocations: 0.8896 MB / 1.017 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.808e-05/0.7074, allocations: 43.78 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.7074, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.7075, allocations: 3.938 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.625e-05/0.7076, allocations: 3.938 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.497e-05/0.7076, allocations: 23.92 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.549e-05/0.7077, allocations: 55.84 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.7079, allocations: 47.95 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.61e-05/0.7079, allocations: 19.88 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.708, allocations: 31.78 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.708, allocations: 4 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.708, allocations: 4 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.7081, allocations: 7.938 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.7081, allocations: 39.73 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.231e-05/0.7082, allocations: 65.73 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7082, allocations: 4 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7082, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.7082, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 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.0004333/0.7087, allocations: 383.2 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.7087, allocations: 8.031 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.7087, allocations: 16.83 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.709, allocations: 192.1 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.709, allocations: 8.375 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.709, allocations: 8.375 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.7092, allocations: 98.2 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.7092, allocations: 192 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.7092, allocations: 3.938 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.7092, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.7093, allocations: 43.86 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.7099, allocations: 432.6 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.655e-05/0.71, allocations: 41.39 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.71, allocations: 17.72 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.71, allocations: 4 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.7101, allocations: 34.56 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.502e-06/0.7101, allocations: 4 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001898/0.7103, allocations: 57.39 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.7103, allocations: 81.09 kB / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.7105, allocations: 160.1 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.7105, allocations: 29.7 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.7106, allocations: 108 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.7106, allocations: 3.906 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.7106, allocations: 21.7 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7108, allocations: 318.8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.7108, allocations: 11.92 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.7108, allocations: 21.66 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.7109, allocations: 25.72 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7109, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.754e-05/0.711, allocations: 65.53 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.711, allocations: 4 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.711, allocations: 3.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.711, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.7111, allocations: 12 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.7111, allocations: 4.062 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.7111, allocations: 3.906 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.7111, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 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 8.953e-05/0.7112, allocations: 113.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.7113, allocations: 11.89 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.7113, allocations: 11.81 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.7113, allocations: 4 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7113, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.7113, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.7117, allocations: 470.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.7117, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.7117, allocations: 11.88 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7117, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.7117, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7118, allocations: 7.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7118, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.838e-05/0.7119, allocations: 81.91 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.7119, allocations: 92.94 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.7119, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.712, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.712, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.712, allocations: 4.094 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.269e-05/0.7121, allocations: 125.3 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7121, allocations: 3.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001842/0.7123, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 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.0001098/0.7124, allocations: 103.2 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.727e-05/0.7125, allocations: 15.98 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7125, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.7125, allocations: 11.94 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.7127, allocations: 16.17 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.713, allocations: 176.5 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.7132, allocations: 0.7004 MB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.7133, allocations: 8.375 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.7133, allocations: 15.38 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7133, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of Templates: time 0.002308/0.7156, allocations: 432.6 kB / 1.022 GB, free: 12.59 MB / 0.7794 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 -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/jenkins/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