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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008727/0.0008723, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009878/0.0009878, allocations: 179.8 kB / 16.92 MB, free: 6.918 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.000511, allocations: 8 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3689, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001143/0.3701, allocations: 0.5492 MB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001439/0.3702, allocations: 35.8 kB / 1.06 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.3703, allocations: 4 kB / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.3703, allocations: 3.938 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.737e-05/0.3704, allocations: 0 / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.165e-05/0.3705, allocations: 15.98 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.3706, allocations: 67.67 kB / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3708, allocations: 43.97 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.3708, allocations: 19.88 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.3709, allocations: 15.86 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3709, allocations: 0 / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.3709, allocations: 4 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.371, allocations: 15.92 kB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.371, allocations: 53.39 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.452e-05/0.3711, allocations: 56.16 kB / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3711, allocations: 0 / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3711, allocations: 0 / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3711, allocations: 0 / 1.06 GB, free: 4.074 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.0004274/0.3716, allocations: 363.3 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3716, allocations: 8.031 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.3717, allocations: 12.83 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.3719, allocations: 196.2 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3719, allocations: 12.38 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.372, allocations: 8.375 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3721, allocations: 89.45 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3722, allocations: 192 / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3722, allocations: 11.94 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3722, allocations: 0 / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.3723, allocations: 39.91 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.3729, allocations: 440.6 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.747e-05/0.3729, allocations: 37.19 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.373, allocations: 25.84 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.373, allocations: 0 / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.373, allocations: 34.55 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.373, allocations: 0 / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001904/0.3732, allocations: 61.47 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3733, allocations: 77.36 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3734, allocations: 167.7 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3735, allocations: 25.7 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.3735, allocations: 111.9 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.3735, allocations: 0 / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.3736, allocations: 13.72 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.3737, allocations: 318.8 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.3737, allocations: 4 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.3737, allocations: 21.66 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.3738, allocations: 37.64 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3738, allocations: 4 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.642e-05/0.3739, allocations: 53.55 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3739, allocations: 4 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3739, allocations: 3.938 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3739, allocations: 4 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.374, allocations: 8.047 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.374, allocations: 4 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.3741, allocations: 11.84 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.3741, allocations: 0 / 1.062 GB, free: 1.648 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.715e-05/0.3742, allocations: 113.8 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.3742, allocations: 7.906 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.3742, allocations: 15.81 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3742, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3743, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3743, allocations: 3.984 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.3746, allocations: 478.7 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3746, allocations: 0 / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.3747, allocations: 4 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3747, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3747, allocations: 4 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3747, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3747, allocations: 3.938 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.382e-05/0.3748, allocations: 81.89 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.3749, allocations: 89.02 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3749, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.3749, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.3749, allocations: 7.984 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.3749, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.448e-05/0.375, allocations: 122.1 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.375, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001913/0.3752, allocations: 11.91 kB / 1.063 GB, free: 0.6133 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.0001063/0.3753, allocations: 99.23 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.577e-05/0.3754, allocations: 15.94 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3754, allocations: 4 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.3755, allocations: 12.12 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.3756, allocations: 8 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.376, allocations: 206.2 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3763, allocations: 0.6965 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.3763, allocations: 11.44 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3763, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.002356/0.3787, allocations: 0.8521 MB / 1.065 GB, free: 14.63 MB / 0.8262 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/jenkins1/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