Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 81.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 158.9 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.942/2.942, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 67.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.004, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002278/1.006, allocations: 0.7925 MB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001711/1.006, allocations: 45.84 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/1.006, allocations: 1.375 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.693e-05/1.006, allocations: 9.328 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/1.006, allocations: 10.47 kB / 1.187 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 7.329e-05/1.007, allocations: 21.38 kB / 1.187 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/1.007, allocations: 59.03 kB / 1.188 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/1.007, allocations: 31.17 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/1.007, allocations: 27.53 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/1.007, allocations: 26.5 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/1.007, allocations: 18.61 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.467e-05/1.007, allocations: 5.125 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/1.007, allocations: 12.41 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/1.007, allocations: 29.14 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/1.008, allocations: 71.5 kB / 1.188 GB, free: 15.49 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/1.008, allocations: 0 / 1.188 GB, free: 15.49 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.717e-06/1.008, allocations: 1.438 kB / 1.188 GB, free: 15.49 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.008, allocations: 0 / 1.188 GB, free: 15.49 MB / 1.076 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.0005961/1.008, allocations: 303.7 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/1.008, allocations: 9.969 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/1.008, allocations: 16.91 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/1.009, allocations: 141.7 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/1.009, allocations: 8.781 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/1.009, allocations: 5.625 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/1.009, allocations: 101.1 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/1.009, allocations: 192 / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/1.009, allocations: 9.125 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/1.009, allocations: 2.438 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.897e-05/1.009, allocations: 35.56 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/1.01, allocations: 357.7 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/1.01, allocations: 33.62 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/1.01, allocations: 19.42 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/1.01, allocations: 1.062 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/1.01, allocations: 38.31 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/1.01, allocations: 0 / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002474/1.01, allocations: 59.45 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.01, allocations: 83 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/1.01, allocations: 128 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/1.01, allocations: 25.7 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/1.01, allocations: 113.3 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/1.01, allocations: 14.16 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/1.01, allocations: 17.42 kB / 1.189 GB, free: 14.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/1.01, allocations: 314.7 kB / 1.189 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/1.01, allocations: 8.406 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/1.01, allocations: 16.28 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/1.011, allocations: 35.84 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.011, allocations: 3.938 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.697e-05/1.011, allocations: 49.27 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.011, allocations: 5.031 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.011, allocations: 0 / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.011, allocations: 10.22 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/1.011, allocations: 6.406 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.011, allocations: 3.938 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/1.011, allocations: 5.734 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/1.011, allocations: 6.625 kB / 1.19 GB, free: 13.66 MB / 1.076 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 6.946e-05/1.011, allocations: 113.3 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/1.011, allocations: 2.656 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/1.011, allocations: 15.44 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.011, allocations: 1.766 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.011, allocations: 0 / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.011, allocations: 1.031 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/1.011, allocations: 413.1 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.011, allocations: 5.094 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/1.011, allocations: 7.234 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.011, allocations: 1.219 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/1.011, allocations: 0.6562 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.011, allocations: 1.344 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.011, allocations: 5.312 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.119e-05/1.011, allocations: 76.69 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/1.011, allocations: 11.72 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/1.011, allocations: 5.859 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/1.011, allocations: 1.219 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/1.011, allocations: 1.938 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/1.011, allocations: 5.281 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.69e-05/1.011, allocations: 100.9 kB / 1.19 GB, free: 12.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.011, allocations: 0 / 1.19 GB, free: 12.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002127/1.012, allocations: 15.52 kB / 1.19 GB, free: 12.91 MB / 1.076 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.0001007/1.012, allocations: 93.52 kB / 1.19 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.35e-05/1.012, allocations: 23.7 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.012, allocations: 0 / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/1.012, allocations: 4.375 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/1.012, allocations: 15.75 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/1.012, allocations: 152 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.641e-05/1.012, allocations: 84.64 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.441e-05/1.012, allocations: 4.75 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/1.012, allocations: 11.06 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.012, allocations: 0 / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of Templates: time 0.002663/1.015, allocations: 334 kB / 1.191 GB, free: 12.48 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.13180143700447]