Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001337/0.001337, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001494/0.001494, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.585/1.585, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.86/2.86, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002256, allocations: 68.66 kB / 0.8986 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4611, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002584/0.4637, allocations: 0.8841 MB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.4639, allocations: 47.78 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.4639, allocations: 4 kB / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.464, allocations: 3.938 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.4641, allocations: 7.922 kB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.417e-05/0.4642, allocations: 12 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.834e-05/0.4643, allocations: 67.75 kB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.4644, allocations: 47.91 kB / 1.053 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.029e-05/0.4645, allocations: 31.8 kB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.4646, allocations: 23.86 kB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.4646, allocations: 8 kB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-06/0.4646, allocations: 4 kB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.4646, allocations: 19.92 kB / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.4647, allocations: 35.73 kB / 1.053 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.4648, allocations: 68.05 kB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4648, allocations: 4 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4648, allocations: 0 / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4648, allocations: 0 / 1.054 GB, free: 7.41 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.0004706/0.4653, allocations: 375.2 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.4654, allocations: 8.625 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.4654, allocations: 8.844 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.4657, allocations: 200.1 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4657, allocations: 8.375 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.4657, allocations: 12.38 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4659, allocations: 89.11 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4659, allocations: 4.125 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.4659, allocations: 11.94 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4659, allocations: 0 / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.563e-05/0.466, allocations: 39.91 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.4666, allocations: 440.5 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/0.4667, allocations: 41.28 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.4668, allocations: 25.84 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.4668, allocations: 0 / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.4668, allocations: 34.56 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4668, allocations: 0 / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001939/0.467, allocations: 61.47 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.4671, allocations: 81.05 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.4672, allocations: 161.1 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.4672, allocations: 25.7 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.4673, allocations: 112.2 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.687e-06/0.4674, allocations: 3.906 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.4674, allocations: 13.72 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4675, allocations: 322.8 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.4676, allocations: 8 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.4677, allocations: 13.72 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.4677, allocations: 29.72 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4677, allocations: 3.984 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.319e-05/0.4678, allocations: 57.48 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4679, allocations: 8 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4679, allocations: 3.938 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4679, allocations: 0 / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.077e-05/0.4679, allocations: 4 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.468, allocations: 7.984 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.468, allocations: 11.84 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.468, allocations: 8.062 kB / 1.056 GB, free: 4.961 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 7.576e-05/0.4681, allocations: 115.3 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.4681, allocations: 7.906 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.4682, allocations: 11.81 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4682, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4682, allocations: 4 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4682, allocations: 7.922 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.4687, allocations: 474.8 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4687, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.4687, allocations: 4 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4687, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4687, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4687, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4687, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.4688, allocations: 85.89 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/0.4689, allocations: 85.02 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.4689, allocations: 4 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.469, allocations: 3.938 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.469, allocations: 3.984 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.469, allocations: 0 / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.511e-05/0.4691, allocations: 115.3 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4691, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001925/0.4693, allocations: 16.03 kB / 1.057 GB, free: 3.93 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.0002684/0.4696, allocations: 99.23 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.285e-05/0.4697, allocations: 16 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4697, allocations: 0 / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.4697, allocations: 7.938 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.4699, allocations: 11.94 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.4702, allocations: 187.1 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.4705, allocations: 0.6924 MB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.4705, allocations: 12.52 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.4706, allocations: 11.44 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.4706, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of Templates: time 0.002734/0.4733, allocations: 452.5 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches