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.00127/0.00127, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001377/0.001377, allocations: 217.1 kB / 23.01 MB, free: 4.57 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.031 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 3.205/3.205, allocations: 0.49 GB / 0.7958 GB, free: 33.32 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.002087/0.002087, allocations: 69.44 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.348, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002051/0.35, allocations: 0.8299 MB / 1.328 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001141/0.3502, allocations: 43.78 kB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.3502, allocations: 4 kB / 1.328 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.3503, allocations: 11.81 kB / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.537e-05/0.3503, allocations: 11.86 kB / 1.328 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.947e-05/0.3504, allocations: 15.98 kB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3505, allocations: 63.84 kB / 1.328 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3506, allocations: 27.98 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.339e-05/0.3507, allocations: 31.8 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.3508, allocations: 35.84 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3508, allocations: 4 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.3508, allocations: 8 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.3508, allocations: 15.92 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.3509, allocations: 39.73 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.351, allocations: 71.53 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.351, allocations: 4 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of FrontEnd: time 9.81e-07/0.351, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.351, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 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.000457/0.3515, allocations: 310 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3515, allocations: 8.031 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.3515, allocations: 8.891 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3518, allocations: 142.3 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3518, allocations: 4.375 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3518, allocations: 8.375 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.352, allocations: 89.92 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.352, allocations: 4.188 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.352, allocations: 19.92 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.352, allocations: 0 / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.3521, allocations: 39.92 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.3526, allocations: 399.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.3527, allocations: 37.38 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.3527, allocations: 21.66 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.3527, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.3528, allocations: 38.55 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3528, allocations: 0 / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.3529, allocations: 57.75 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.353, allocations: 81.14 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3532, allocations: 165.2 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3532, allocations: 25.7 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.3532, allocations: 108 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-06/0.3533, allocations: 3.953 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.3533, allocations: 17.72 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3534, allocations: 326.8 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.3535, allocations: 8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.3535, allocations: 17.72 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.3535, allocations: 29.64 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3535, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.864e-05/0.3536, allocations: 61.59 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3536, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3536, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3536, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.3537, allocations: 11.98 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3537, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.3537, allocations: 3.953 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3538, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 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 8.94e-05/0.3538, allocations: 113.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.3539, allocations: 7.953 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3539, allocations: 11.75 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3539, allocations: 11.98 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3539, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3539, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.3543, allocations: 445.8 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3543, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.3544, allocations: 4 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3544, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.3544, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3544, allocations: 8.062 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3544, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.558e-05/0.3545, allocations: 85.81 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.3545, allocations: 11.91 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3545, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.3545, allocations: 4 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.3546, allocations: 12.02 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3546, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.24e-05/0.3546, allocations: 117.1 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3546, allocations: 3.938 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001872/0.3548, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 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.000115/0.3549, allocations: 103.2 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.315e-05/0.355, allocations: 19.94 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.355, allocations: 4.125 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.355, allocations: 4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.3552, allocations: 11.84 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.3556, allocations: 192.4 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3559, allocations: 0.6923 MB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.3559, allocations: 15.56 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3559, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of Templates: time 0.002448/0.3583, allocations: 0.8639 MB / 1.333 GB, free: 11.12 MB / 1.029 GB " [Timeout remaining time 300] 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: 10.953245575015899]