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.001475/0.001475, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001725/0.001725, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.457 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.648/2.648, allocations: 437 MB / 0.71 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.91 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7533/0.7553, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002415/0.7577, allocations: 0.8921 MB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001206/0.7579, allocations: 39.78 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.7579, allocations: 4 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.563e-05/0.758, allocations: 11.92 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.531e-05/0.7581, allocations: 3.938 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.849e-05/0.7582, allocations: 19.98 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.7583, allocations: 55.86 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.7585, allocations: 51.94 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.139e-05/0.7586, allocations: 27.81 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.7586, allocations: 27.84 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.7587, allocations: 8 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.7587, allocations: 4 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.7587, allocations: 11.94 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.7588, allocations: 35.73 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.7589, allocations: 73.73 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.7589, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7589, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.7589, allocations: 4 kB / 1.018 GB, free: 1.434 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.000522/0.7595, allocations: 383.1 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.7595, allocations: 8.031 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.7596, allocations: 8.844 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.7598, allocations: 192.2 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.7598, allocations: 8.375 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.7599, allocations: 4.375 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.7601, allocations: 103.8 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7601, allocations: 192 / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.7601, allocations: 11.88 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.7601, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.7602, allocations: 39.92 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.7609, allocations: 436.6 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.761, allocations: 37.16 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.761, allocations: 25.83 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.761, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/0.7611, allocations: 38.59 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7611, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002084/0.7613, allocations: 57.39 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.7614, allocations: 81.11 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.7616, allocations: 164.3 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.7616, allocations: 25.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.7617, allocations: 104 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.7617, allocations: 3.906 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.7618, allocations: 25.95 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.762, allocations: 318.8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.762, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.165e-05/0.762, allocations: 21.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.965e-05/0.7621, allocations: 29.66 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7621, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.912e-05/0.7622, allocations: 57.59 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.7622, allocations: 8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.7623, allocations: 3.938 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7623, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.7624, allocations: 4 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.7624, allocations: 7.938 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.7624, allocations: 3.906 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.7624, allocations: 4 kB / 1.02 GB, free: 14.99 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 0.0001074/0.7626, allocations: 113.9 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.7626, allocations: 7.906 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.7626, allocations: 19.8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.7627, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.7627, allocations: 8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.7627, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.7631, allocations: 474.7 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7631, allocations: 4.062 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.7631, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7632, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.7632, allocations: 96 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7632, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7632, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.025e-05/0.7633, allocations: 85.75 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.7633, allocations: 101 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.7634, allocations: 7.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.7634, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.7634, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.7634, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.274e-05/0.7635, allocations: 120.9 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7635, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002039/0.7637, allocations: 8 kB / 1.021 GB, free: 13.95 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.0001668/0.7639, allocations: 103.2 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.764, allocations: 23.92 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.764, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.764, allocations: 8 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.7642, allocations: 13.19 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.7646, allocations: 175.1 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.765, allocations: 0.6963 MB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.901e-05/0.765, allocations: 4.438 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.7651, allocations: 11.44 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7651, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.002615/0.7677, allocations: 460.4 kB / 1.022 GB, free: 12.39 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