Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01194/0.01194, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.003087/0.003087, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.669/2.669, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.95 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3577, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002234/0.36, allocations: 0.8137 MB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.3601, allocations: 39.84 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.3602, allocations: 8 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.3602, allocations: 11.86 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.3603, allocations: 15.81 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.507e-05/0.3604, allocations: 15.98 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3605, allocations: 75.81 kB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.3607, allocations: 39.97 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.3608, allocations: 31.8 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.3608, allocations: 23.86 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3608, allocations: 8 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.3609, allocations: 4 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.3609, allocations: 19.92 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.3609, allocations: 27.75 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.3611, allocations: 83.58 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3611, allocations: 3.984 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3612, allocations: 4 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3612, allocations: 0 / 1.089 GB, free: 296 kB / 0.8419 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.0005273/0.3617, allocations: 367.3 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3618, allocations: 8.031 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.3618, allocations: 12.75 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.3621, allocations: 196.1 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3621, allocations: 8.375 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3621, allocations: 12.36 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3623, allocations: 91.89 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3623, allocations: 192 / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3624, allocations: 11.94 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3624, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.17e-05/0.3625, allocations: 35.92 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.3631, allocations: 440.6 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.523e-05/0.3631, allocations: 41.19 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.3632, allocations: 21.84 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.3632, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3632, allocations: 30.56 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.3632, allocations: 4 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000186/0.3634, allocations: 57.47 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3635, allocations: 81.11 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.3637, allocations: 160.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3637, allocations: 25.7 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.3639, allocations: 100 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.364, allocations: 11.83 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.364, allocations: 17.97 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3641, allocations: 318.8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.3642, allocations: 11.94 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.3642, allocations: 21.72 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.3642, allocations: 25.66 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3642, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.238e-05/0.3643, allocations: 65.53 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3644, allocations: 8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3644, allocations: 3.938 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3644, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.3645, allocations: 8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.3645, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.3645, allocations: 7.844 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3645, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 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.747e-05/0.3646, allocations: 118.4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.3646, allocations: 11.91 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.3647, allocations: 11.81 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3647, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3647, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3647, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.3652, allocations: 470.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3652, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.3653, allocations: 8.047 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3653, allocations: 4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.3653, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3653, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3653, allocations: 3.938 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.497e-05/0.3654, allocations: 77.84 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.3654, allocations: 93.03 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3655, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.3655, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.3655, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.3655, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.104e-05/0.3656, allocations: 121.3 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.714e-06/0.3656, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002018/0.3658, allocations: 15.94 kB / 1.092 GB, free: 12.82 MB / 0.8575 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.0002219/0.366, allocations: 99.25 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.119e-05/0.3661, allocations: 23.92 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3661, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/0.3662, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.3663, allocations: 13.66 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.3666, allocations: 170.8 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.367, allocations: 0.6931 MB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.367, allocations: 16.44 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.367, allocations: 11.44 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.367, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.002729/0.3698, allocations: 457.9 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches