Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.204/2.204, allocations: 390.3 MB / 402.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 221.3 MB / 0.7915 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.0009611, allocations: 99.75 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.352e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3474, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.426, allocations: 149.6 MB / 1.365 GB, free: 4.445 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/1.427, allocations: 66.33 kB / 1.365 GB, free: 4.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002478/1.429, allocations: 1.085 MB / 1.366 GB, free: 3.449 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.402e-06/1.429, allocations: 0 / 1.366 GB, free: 3.449 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.429, allocations: 0 / 1.366 GB, free: 3.449 MB / 0.823 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.0003476/1.43, allocations: 356.8 kB / 1.366 GB, free: 3.062 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.43, allocations: 8.031 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/1.43, allocations: 18.42 kB / 1.366 GB, free: 3.039 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/1.43, allocations: 170.9 kB / 1.366 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/1.43, allocations: 11.75 kB / 1.366 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/1.43, allocations: 8 kB / 1.366 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/1.43, allocations: 86.09 kB / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/1.43, allocations: 0 / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.43, allocations: 7.172 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.43, allocations: 4 kB / 1.367 GB, free: 2.73 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/1.43, allocations: 36.81 kB / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/1.431, allocations: 452.1 kB / 1.367 GB, free: 2.246 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.304e-05/1.431, allocations: 50.33 kB / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/1.431, allocations: 21.59 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/1.431, allocations: 0 / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/1.431, allocations: 34.56 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.431, allocations: 0 / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001621/1.431, allocations: 44.73 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/1.431, allocations: 81.17 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/1.431, allocations: 147.8 kB / 1.367 GB, free: 1.836 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.431, allocations: 29.7 kB / 1.367 GB, free: 1.801 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/1.432, allocations: 102.1 kB / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/1.432, allocations: 7.891 kB / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/1.432, allocations: 0 / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.432, allocations: 322.2 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/1.432, allocations: 7.625 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/1.432, allocations: 33 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/1.432, allocations: 7.562 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/1.432, allocations: 0 / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.906e-05/1.432, allocations: 56.55 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.432, allocations: 4 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.432, allocations: 3.984 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.432, allocations: 4 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/1.432, allocations: 7.938 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.432, allocations: 4.062 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/1.432, allocations: 15.84 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/1.432, allocations: 0 / 1.368 GB, free: 1.242 MB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.566e-05/1.432, allocations: 105.2 kB / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/1.432, allocations: 7.906 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/1.432, allocations: 19.33 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.432, allocations: 0 / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.432, allocations: 4 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.432, allocations: 0 / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/1.433, allocations: 472.8 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.433, allocations: 0 / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/1.433, allocations: 4 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.433, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/1.433, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.433, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.433, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/1.433, allocations: 105.1 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/1.433, allocations: 85 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/1.433, allocations: 4 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/1.433, allocations: 0 / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/1.433, allocations: 3.938 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/1.433, allocations: 0 / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.601e-05/1.433, allocations: 133.8 kB / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.433, allocations: 0 / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001618/1.433, allocations: 8 kB / 1.369 GB, free: 248 kB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/1.434, allocations: 95.25 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.086e-05/1.434, allocations: 19.5 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.434, allocations: 0 / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/1.434, allocations: 7.5 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/1.434, allocations: 13.62 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/1.434, allocations: 97.83 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/1.434, allocations: 0.7004 MB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.139e-05/1.434, allocations: 4.438 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/1.434, allocations: 15.44 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.434, allocations: 3.938 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of Templates: time 0.002312/1.437, allocations: 429.1 kB / 1.37 GB, free: 14.83 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches