Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 108 kB / 15.61 MB, free: 152 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.002126/0.002126, allocations: 197 kB / 16.53 MB, free: 6.664 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.552/1.552, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.618/2.618, allocations: 390.2 MB / 0.6646 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7671, allocations: 140.4 MB / 0.9496 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001847/0.769, allocations: 0.82 MB / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.381e-05/0.7691, allocations: 41.23 kB / 0.9504 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.7691, allocations: 5.094 kB / 0.9504 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.7692, allocations: 11.86 kB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.476e-05/0.7692, allocations: 9.547 kB / 0.9505 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.167e-05/0.7693, allocations: 19.45 kB / 0.9505 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.908e-05/0.7694, allocations: 59.19 kB / 0.9505 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.7695, allocations: 41.03 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.484e-05/0.7695, allocations: 27.73 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.7696, allocations: 29.36 kB / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.7696, allocations: 9.875 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.7696, allocations: 5.688 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.7697, allocations: 18.55 kB / 0.9507 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.7697, allocations: 38.45 kB / 0.9507 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.071e-05/0.7698, allocations: 70.86 kB / 0.9508 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7698, allocations: 0 / 0.9508 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7698, allocations: 0 / 0.9508 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7698, allocations: 0 / 0.9508 GB, free: 8.367 MB / 0.7169 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.0002975/0.7701, allocations: 378.1 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.7701, allocations: 13.47 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.7702, allocations: 10.47 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.7703, allocations: 194 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.7704, allocations: 8.062 kB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.7704, allocations: 8.812 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.7705, allocations: 90.95 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7705, allocations: 4.172 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7705, allocations: 9.219 kB / 0.9514 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7705, allocations: 5.281 kB / 0.9514 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.556e-05/0.7706, allocations: 44.08 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.771, allocations: 433.5 kB / 0.9519 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.642e-05/0.771, allocations: 37.38 kB / 0.9519 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.7711, allocations: 23.16 kB / 0.952 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.443e-06/0.7711, allocations: 0 / 0.952 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.051e-05/0.7711, allocations: 36.08 kB / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.7711, allocations: 0 / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001372/0.7712, allocations: 59.14 kB / 0.9521 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.7713, allocations: 82.11 kB / 0.9521 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.7714, allocations: 160.7 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.7714, allocations: 25.7 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.7714, allocations: 116.8 kB / 0.9524 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/0.7714, allocations: 3.906 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.7715, allocations: 17.94 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.7715, allocations: 325 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.7716, allocations: 6.625 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.7716, allocations: 22.52 kB / 0.9528 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.7716, allocations: 26.41 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7716, allocations: 1.281 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.786e-05/0.7717, allocations: 58.42 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7717, allocations: 5.844 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7717, allocations: 8 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7717, allocations: 1.219 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.7718, allocations: 10.08 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.7718, allocations: 0 / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.7718, allocations: 2.969 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.7718, allocations: 1.219 kB / 0.9529 GB, free: 6.191 MB / 0.7169 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 4.986e-05/0.7719, allocations: 114.2 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.7719, allocations: 7.906 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.772, allocations: 17.2 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.772, allocations: 5.312 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.772, allocations: 1.344 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.772, allocations: 0 / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.7722, allocations: 470.8 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7723, allocations: 3.938 kB / 0.9535 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.7723, allocations: 3.781 kB / 0.9535 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.7723, allocations: 0 / 0.9535 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.7723, allocations: 5.344 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7723, allocations: 0 / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7723, allocations: 1.25 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.198e-05/0.7724, allocations: 86.95 kB / 0.9536 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.7724, allocations: 87.55 kB / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.7724, allocations: 9.25 kB / 0.9537 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.7725, allocations: 0 / 0.9537 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.7725, allocations: 5.281 kB / 0.9537 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.7725, allocations: 5.25 kB / 0.9537 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.7726, allocations: 129.4 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7726, allocations: 0 / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001816/0.7727, allocations: 7.094 kB / 0.9538 GB, free: 5.23 MB / 0.7169 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 8.242e-05/0.7728, allocations: 96.94 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.495e-05/0.7729, allocations: 21.78 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7729, allocations: 4.062 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.7729, allocations: 4.094 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.7731, allocations: 16.61 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.7734, allocations: 158.1 kB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.7735, allocations: 0.6948 MB / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.7735, allocations: 8.078 kB / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.7736, allocations: 12.25 kB / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7736, allocations: 0 / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of Templates: time 0.002596/0.7762, allocations: 444.1 kB / 0.9552 GB, free: 4.031 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches