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.009539/0.00954, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001674/0.001673, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.463/2.463, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.89 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9706/0.9718, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002159/0.9741, allocations: 0.8352 MB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000117/0.9742, allocations: 41.36 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.9743, allocations: 1.031 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.9743, allocations: 6.891 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.139e-05/0.9744, allocations: 13.14 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.052e-05/0.9745, allocations: 16.67 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.9746, allocations: 66.92 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.9748, allocations: 41.36 kB / 1.089 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.565e-05/0.9749, allocations: 27.66 kB / 1.089 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.9749, allocations: 29.83 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.9749, allocations: 9.875 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.975, allocations: 6.594 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.975, allocations: 12.52 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.9751, allocations: 32.03 kB / 1.089 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.9752, allocations: 79.55 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9753, allocations: 0.6094 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9753, allocations: 3.938 kB / 1.089 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.9753, allocations: 1.062 kB / 1.089 GB, free: 4.75 MB / 0.8575 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.0004696/0.9758, allocations: 376.6 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.9758, allocations: 12.84 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.9759, allocations: 14.06 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.9761, allocations: 192.3 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.9761, allocations: 7.531 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.9761, allocations: 5.156 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.9763, allocations: 90.22 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9763, allocations: 1.25 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.9763, allocations: 9.734 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.9763, allocations: 5.281 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.83e-05/0.9764, allocations: 36.47 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.9769, allocations: 437.3 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.977, allocations: 46.03 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.977, allocations: 29.23 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.977, allocations: 0 / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.9771, allocations: 33.34 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.9771, allocations: 0 / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001811/0.9773, allocations: 56.45 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.9773, allocations: 78.67 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.9775, allocations: 163.1 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.9775, allocations: 25.7 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.9775, allocations: 103.4 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.9775, allocations: 10.28 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.9776, allocations: 14.48 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.9776, allocations: 319.9 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.9777, allocations: 7.172 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.9777, allocations: 24.78 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.9777, allocations: 26.56 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.9777, allocations: 0 / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.082e-05/0.9778, allocations: 57.84 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9779, allocations: 5.375 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9779, allocations: 5.109 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.9779, allocations: 0.8125 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/0.978, allocations: 10.89 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.978, allocations: 1.125 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.978, allocations: 6.125 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.978, allocations: 5.5 kB / 1.091 GB, free: 2.684 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 5.879e-05/0.9781, allocations: 111.3 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.9781, allocations: 12.83 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.9782, allocations: 15.5 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9782, allocations: 1.281 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.9782, allocations: 8.938 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9782, allocations: 1.594 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.9785, allocations: 469.6 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9785, allocations: 1.562 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.9785, allocations: 4.016 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9785, allocations: 5.031 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.9786, allocations: 0 / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9786, allocations: 5.031 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9786, allocations: 5.891 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.926e-05/0.9786, allocations: 75.92 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.9787, allocations: 93.89 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.9787, allocations: 1.578 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.9787, allocations: 1.641 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.9788, allocations: 5.656 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.9788, allocations: 0.9375 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.049e-05/0.9789, allocations: 122.7 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9789, allocations: 1.062 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001908/0.9791, allocations: 7.25 kB / 1.092 GB, free: 1.766 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.0001066/0.9792, allocations: 104.3 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.523e-05/0.9793, allocations: 21.52 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9793, allocations: 128 / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.9793, allocations: 11.83 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.9795, allocations: 14.31 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.9798, allocations: 159.8 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.9799, allocations: 0.6924 MB / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.9799, allocations: 11.88 kB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.98, allocations: 11.81 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.98, allocations: 0 / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of Templates: time 0.002972/0.983, allocations: 462.3 kB / 1.094 GB, free: 0.707 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