Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001801/0.001801, allocations: 191.2 kB / 16.13 MB, free: 6.648 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.572/1.572, allocations: 222.9 MB / 239.8 MB, free: 4.52 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.516/2.516, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.001981, allocations: 63.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9027/0.9047, allocations: 140.3 MB / 0.9489 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002058/0.9068, allocations: 0.8779 MB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.956e-05/0.907, allocations: 39.91 kB / 0.9498 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.907, allocations: 1.375 kB / 0.9498 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.229e-05/0.9071, allocations: 17.23 kB / 0.9498 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.925e-05/0.9072, allocations: 0 / 0.9498 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.744e-05/0.9072, allocations: 16.11 kB / 0.9498 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.085e-05/0.9073, allocations: 53.7 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.9075, allocations: 47.45 kB / 0.9499 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.9075, allocations: 23.64 kB / 0.95 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.9076, allocations: 28.36 kB / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.9076, allocations: 4.406 kB / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.9076, allocations: 3.594 kB / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.9076, allocations: 14.2 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.9077, allocations: 30.73 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.689e-05/0.9078, allocations: 69.02 kB / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.9078, allocations: 1.406 kB / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9078, allocations: 0 / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.9078, allocations: 0 / 0.9501 GB, free: 8.328 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.0003852/0.9082, allocations: 390 kB / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.9083, allocations: 9.75 kB / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.9083, allocations: 9.906 kB / 0.9505 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.9085, allocations: 185.5 kB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.9085, allocations: 8.094 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.9085, allocations: 9.5 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.9087, allocations: 95.66 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9087, allocations: 4.188 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.9087, allocations: 9.219 kB / 0.9508 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.9087, allocations: 1.375 kB / 0.9508 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.752e-05/0.9088, allocations: 40.44 kB / 0.9508 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.9093, allocations: 436.2 kB / 0.9513 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.172e-05/0.9093, allocations: 41.16 kB / 0.9513 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.9094, allocations: 15.59 kB / 0.9513 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.9094, allocations: 5.531 kB / 0.9513 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.9094, allocations: 40.33 kB / 0.9514 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9094, allocations: 4 kB / 0.9514 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001709/0.9096, allocations: 54.23 kB / 0.9514 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.9096, allocations: 78.36 kB / 0.9515 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.9098, allocations: 162.7 kB / 0.9516 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.9098, allocations: 25.7 kB / 0.9517 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.9098, allocations: 109 kB / 0.9518 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.9098, allocations: 5.438 kB / 0.9518 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.9099, allocations: 20.62 kB / 0.9518 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.9099, allocations: 325.5 kB / 0.9521 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.9099, allocations: 7.656 kB / 0.9521 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.91, allocations: 22.33 kB / 0.9521 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.91, allocations: 26.25 kB / 0.9522 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.91, allocations: 0 / 0.9522 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.051e-05/0.9101, allocations: 59.45 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.9101, allocations: 5.031 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9101, allocations: 5.031 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.9102, allocations: 5.078 kB / 0.9522 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.9102, allocations: 9.219 kB / 0.9522 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9102, allocations: 1 kB / 0.9522 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.9103, allocations: 1.344 kB / 0.9522 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.9103, allocations: 1.688 kB / 0.9522 GB, free: 6.152 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 5.743e-05/0.9103, allocations: 114.1 kB / 0.9523 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.9104, allocations: 12.25 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.9104, allocations: 18.17 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9104, allocations: 1.062 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9104, allocations: 0 / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.9104, allocations: 0.8125 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.9107, allocations: 471.1 kB / 0.9528 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9107, allocations: 3.938 kB / 0.9528 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-05/0.9107, allocations: 6.812 kB / 0.9528 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.9107, allocations: 1.469 kB / 0.9528 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.9108, allocations: 1.688 kB / 0.9528 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.9108, allocations: 0 / 0.9528 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9108, allocations: 0 / 0.9528 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.312e-05/0.9108, allocations: 86.39 kB / 0.9529 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.9109, allocations: 92.77 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.9109, allocations: 4.984 kB / 0.953 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.9109, allocations: 0 / 0.953 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.9109, allocations: 6.719 kB / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.9109, allocations: 0 / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.149e-05/0.911, allocations: 122.1 kB / 0.9531 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.911, allocations: 0 / 0.9531 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001884/0.9112, allocations: 6.469 kB / 0.9531 GB, free: 5.203 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 0.0001156/0.9113, allocations: 106 kB / 0.9532 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.706e-05/0.9114, allocations: 17.94 kB / 0.9533 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.9114, allocations: 1 kB / 0.9533 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.9114, allocations: 4.531 kB / 0.9533 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.9116, allocations: 16.83 kB / 0.9533 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.9119, allocations: 178.4 kB / 0.9535 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.912, allocations: 0.6952 MB / 0.9541 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.05e-05/0.9121, allocations: 8.828 kB / 0.9541 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.9121, allocations: 14.78 kB / 0.9542 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.9121, allocations: 0 / 0.9542 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of Templates: time 0.002475/0.9146, allocations: 439.7 kB / 0.9546 GB, free: 3.969 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches