Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01039/0.01039, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.001565/0.001565, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7453 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.91 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3982, allocations: 159.9 MB / 1.226 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002101/0.4003, allocations: 0.8418 MB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001185/0.4005, allocations: 39.8 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.4005, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.868e-05/0.4006, allocations: 11.88 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.4007, allocations: 15.86 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.386e-05/0.4008, allocations: 15.97 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.4009, allocations: 63.84 kB / 1.227 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.401, allocations: 39.92 kB / 1.227 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.563e-05/0.4011, allocations: 35.8 kB / 1.227 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.4012, allocations: 23.86 kB / 1.227 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.4012, allocations: 8 kB / 1.227 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.4012, allocations: 4 kB / 1.227 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.4012, allocations: 19.92 kB / 1.227 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.4013, allocations: 39.73 kB / 1.227 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.4014, allocations: 71.58 kB / 1.227 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4014, allocations: 0 / 1.227 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.235e-06/0.4014, allocations: 0 / 1.227 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.4015, allocations: 0 / 1.227 GB, free: 7.98 MB / 0.9825 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.0004838/0.4019, allocations: 383.1 kB / 1.227 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.402, allocations: 12.03 kB / 1.227 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.402, allocations: 12.84 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.4023, allocations: 196.2 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4023, allocations: 4.375 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.4023, allocations: 8.375 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.4025, allocations: 93.61 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4025, allocations: 4.188 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4025, allocations: 7.938 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.4025, allocations: 4 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.4026, allocations: 39.86 kB / 1.228 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.4031, allocations: 432.7 kB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/0.4032, allocations: 41.19 kB / 1.228 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.4032, allocations: 21.84 kB / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.4033, allocations: 0 / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4033, allocations: 30.56 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4033, allocations: 0 / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001754/0.4035, allocations: 65.7 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.4035, allocations: 81.11 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.4037, allocations: 160.4 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.4037, allocations: 25.7 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.4038, allocations: 104.1 kB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-06/0.4038, allocations: 7.891 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.4038, allocations: 21.67 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4039, allocations: 322.8 kB / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.404, allocations: 12.06 kB / 1.229 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.404, allocations: 17.72 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.404, allocations: 25.66 kB / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4041, allocations: 0 / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.869e-05/0.4041, allocations: 65.67 kB / 1.229 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4042, allocations: 4 kB / 1.229 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4042, allocations: 11.98 kB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4042, allocations: 0 / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.4043, allocations: 8 kB / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.4043, allocations: 0 / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.4043, allocations: 3.938 kB / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.4043, allocations: 7.984 kB / 1.229 GB, free: 5.531 MB / 0.9825 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 8.166e-05/0.4044, allocations: 113.8 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.4044, allocations: 7.953 kB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.4045, allocations: 11.81 kB / 1.229 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.4045, allocations: 8 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.4045, allocations: 0 / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4045, allocations: 0 / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.4049, allocations: 470.7 kB / 1.23 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4049, allocations: 3.984 kB / 1.23 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.4049, allocations: 4 kB / 1.23 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4049, allocations: 0 / 1.23 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.4049, allocations: 4.062 kB / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4049, allocations: 0 / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4049, allocations: 4 kB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.275e-05/0.405, allocations: 85.77 kB / 1.23 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.4051, allocations: 89.05 kB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.4051, allocations: 0 / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.4051, allocations: 4.031 kB / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.4051, allocations: 0 / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.4052, allocations: 4 kB / 1.23 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.089e-05/0.4052, allocations: 125.7 kB / 1.23 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.543e-06/0.4052, allocations: 0 / 1.23 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001787/0.4054, allocations: 7.938 kB / 1.23 GB, free: 4.492 MB / 0.9825 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.0001292/0.4056, allocations: 107.2 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.66e-05/0.4057, allocations: 19.94 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4057, allocations: 0 / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.4057, allocations: 4 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.4059, allocations: 13.48 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.4062, allocations: 166.5 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.4064, allocations: 0.6965 MB / 1.231 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.4065, allocations: 8.422 kB / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.4065, allocations: 11.44 kB / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.4065, allocations: 0 / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of Templates: time 0.002574/0.4091, allocations: 460.5 kB / 1.231 GB, free: 2.953 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches