Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001258/0.001258, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.001395/0.001395, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.458/1.458, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.978/2.978, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00212/0.00212, allocations: 63.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.079, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001892/1.08, allocations: 0.8357 MB / 1.323 GB, free: 24.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001038/1.081, allocations: 40.53 kB / 1.323 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/1.081, allocations: 2.375 kB / 1.323 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/1.081, allocations: 11.16 kB / 1.323 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.389e-05/1.081, allocations: 10.8 kB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.279e-05/1.081, allocations: 18.03 kB / 1.323 GB, free: 24.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.856e-05/1.081, allocations: 63.55 kB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/1.081, allocations: 33.28 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/1.081, allocations: 22.47 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/1.081, allocations: 25.09 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/1.081, allocations: 16.16 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/1.081, allocations: 5.938 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/1.081, allocations: 14.12 kB / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/1.081, allocations: 33.34 kB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/1.081, allocations: 82.19 kB / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.081, allocations: 0 / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.014e-06/1.081, allocations: 0 / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.052e-06/1.081, allocations: 0 / 1.323 GB, free: 24.27 MB / 1.061 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.000398/1.082, allocations: 383.3 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/1.082, allocations: 15.45 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/1.082, allocations: 9.734 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/1.082, allocations: 192.7 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/1.082, allocations: 2.75 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/1.082, allocations: 9.688 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/1.082, allocations: 93.64 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.082, allocations: 192 / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/1.082, allocations: 10.75 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.082, allocations: 6.969 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.548e-05/1.082, allocations: 42.08 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/1.083, allocations: 433.9 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/1.083, allocations: 44 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/1.083, allocations: 22.88 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/1.083, allocations: 0 / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/1.083, allocations: 37.28 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.083, allocations: 0 / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001684/1.083, allocations: 63.44 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.083, allocations: 77.36 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/1.083, allocations: 169.8 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/1.083, allocations: 25.7 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/1.083, allocations: 105.3 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/1.083, allocations: 3.953 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/1.083, allocations: 16.53 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.47e-05/1.083, allocations: 321.3 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/1.083, allocations: 10.41 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/1.083, allocations: 23.56 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.322e-05/1.083, allocations: 21.94 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.083, allocations: 0 / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.042e-05/1.083, allocations: 61.73 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.083, allocations: 5.656 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.083, allocations: 6.781 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.083, allocations: 0 / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/1.083, allocations: 9.625 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/1.083, allocations: 0 / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/1.084, allocations: 10.67 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/1.084, allocations: 0 / 1.325 GB, free: 22.18 MB / 1.061 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.845e-05/1.084, allocations: 119 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/1.084, allocations: 6.484 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/1.084, allocations: 14.5 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/1.084, allocations: 2.5 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.084, allocations: 0 / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/1.084, allocations: 4 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/1.084, allocations: 468 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.084, allocations: 0 / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/1.084, allocations: 10.36 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.084, allocations: 2.969 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/1.084, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.084, allocations: 7.938 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.084, allocations: 4.062 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.272e-05/1.084, allocations: 83.81 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/1.084, allocations: 87.14 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/1.084, allocations: 0 / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/1.084, allocations: 2.875 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/1.084, allocations: 11.31 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/1.084, allocations: 4.031 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.666e-05/1.084, allocations: 119.7 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.084, allocations: 3.938 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001783/1.084, allocations: 8.688 kB / 1.326 GB, free: 21.25 MB / 1.061 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.0001061/1.084, allocations: 96.16 kB / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.944e-05/1.085, allocations: 18.89 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.085, allocations: 0 / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.347e-06/1.085, allocations: 10.78 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/1.085, allocations: 14.53 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/1.085, allocations: 189.2 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/1.085, allocations: 0.6924 MB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/1.085, allocations: 10.25 kB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.085, allocations: 128 / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of Templates: time 0.00227/1.087, allocations: 0.867 MB / 1.328 GB, free: 20.18 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.443975196001702]