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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001608/0.001608, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.76/0.7614, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001963/0.7634, allocations: 0.8255 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.7636, allocations: 47.72 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.7636, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.7637, allocations: 11.86 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.7638, allocations: 7.938 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.62e-05/0.7638, allocations: 15.98 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.7639, allocations: 67.78 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.7641, allocations: 51.89 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.7641, allocations: 19.94 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.7642, allocations: 31.78 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.7642, allocations: 8 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.7643, allocations: 8 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.7643, allocations: 15.94 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.7643, allocations: 31.8 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.7644, allocations: 75.64 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7645, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7645, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7645, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 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.0004184/0.7649, allocations: 384.8 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.7649, allocations: 8.031 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.765, allocations: 12.84 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.7652, allocations: 196.1 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.7652, allocations: 8.375 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.7652, allocations: 4.375 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.7654, allocations: 93.97 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.7654, allocations: 192 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.7654, allocations: 11.94 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7654, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.7655, allocations: 39.92 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.766, allocations: 436.6 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.617e-05/0.7661, allocations: 41.19 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.7662, allocations: 29.83 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.7662, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.7662, allocations: 30.56 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7662, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001797/0.7664, allocations: 53.48 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.7664, allocations: 81.11 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.7666, allocations: 164.9 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.7666, allocations: 25.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.7667, allocations: 108 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.7667, allocations: 7.844 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.7667, allocations: 17.7 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7668, allocations: 318.8 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.7669, allocations: 7.938 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.7669, allocations: 21.7 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.7669, allocations: 29.72 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7669, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.192e-05/0.767, allocations: 57.53 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.767, allocations: 8 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7671, allocations: 3.938 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.7671, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.7671, allocations: 4 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.7672, allocations: 8.062 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.7672, allocations: 7.906 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.7672, allocations: 4 kB / 1.212 GB, free: 9.977 MB / 0.9356 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 7.434e-05/0.7673, allocations: 113.8 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.7673, allocations: 8 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.7674, allocations: 19.78 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.7674, allocations: 4 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7674, allocations: 4 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7674, allocations: 0 / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.7678, allocations: 474.8 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7678, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.7678, allocations: 7.938 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.7678, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.7678, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.7678, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7678, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.091e-05/0.7679, allocations: 81.89 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.768, allocations: 96.94 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.768, allocations: 4 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.768, allocations: 0 / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.768, allocations: 0 / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.768, allocations: 0 / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.453e-05/0.7681, allocations: 125.5 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.493e-06/0.7681, allocations: 0 / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002035/0.7683, allocations: 19.84 kB / 1.213 GB, free: 8.922 MB / 0.9356 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.0001064/0.7685, allocations: 95.25 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.081e-05/0.7685, allocations: 19.98 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7685, allocations: 0 / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.7686, allocations: 7.938 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.7687, allocations: 20.12 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.769, allocations: 184.5 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.7693, allocations: 0.6963 MB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.7693, allocations: 11.44 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.7693, allocations: 0 / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of Templates: time 0.002254/0.7716, allocations: 0.8676 MB / 1.215 GB, free: 6.949 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches