Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001406/0.001406, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001473/0.001473, allocations: 156 kB / 23.01 MB, free: 4.602 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.494/1.494, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.739/2.739, allocations: 359.1 MB / 0.6044 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002335/0.002335, allocations: 59.91 kB / 0.9515 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3506, allocations: 169.9 MB / 1.117 GB, free: 2.625 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002366/0.353, allocations: 0.7907 MB / 1.118 GB, free: 1.832 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.3531, allocations: 47.78 kB / 1.118 GB, free: 1.785 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.3532, allocations: 0 / 1.118 GB, free: 1.785 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.407e-05/0.3532, allocations: 7.875 kB / 1.118 GB, free: 1.777 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.267e-05/0.3533, allocations: 11.92 kB / 1.118 GB, free: 1.766 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.345e-05/0.3534, allocations: 15.98 kB / 1.118 GB, free: 1.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.3535, allocations: 63.78 kB / 1.118 GB, free: 1.688 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.3537, allocations: 35.91 kB / 1.118 GB, free: 1.652 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.3537, allocations: 27.86 kB / 1.118 GB, free: 1.625 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.3538, allocations: 19.86 kB / 1.118 GB, free: 1.605 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3538, allocations: 12 kB / 1.118 GB, free: 1.594 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.3538, allocations: 4 kB / 1.118 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.3539, allocations: 23.91 kB / 1.118 GB, free: 1.566 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.3539, allocations: 31.73 kB / 1.119 GB, free: 1.535 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.354, allocations: 67.66 kB / 1.119 GB, free: 1.469 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3541, allocations: 0 / 1.119 GB, free: 1.469 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3541, allocations: 0 / 1.119 GB, free: 1.469 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3541, allocations: 0 / 1.119 GB, free: 1.469 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.0004763/0.3545, allocations: 306 kB / 1.119 GB, free: 1.137 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3546, allocations: 12.03 kB / 1.119 GB, free: 1.125 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.3546, allocations: 20.81 kB / 1.119 GB, free: 1.105 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3548, allocations: 138.3 kB / 1.119 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3548, allocations: 384 / 1.119 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.3549, allocations: 12.38 kB / 1.119 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.355, allocations: 90.14 kB / 1.119 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.355, allocations: 192 / 1.119 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3551, allocations: 3.938 kB / 1.119 GB, free: 0.832 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3551, allocations: 4 kB / 1.119 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.025e-05/0.3552, allocations: 39.92 kB / 1.119 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.3557, allocations: 348.4 kB / 1.12 GB, free: 424 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.607e-05/0.3557, allocations: 45.28 kB / 1.12 GB, free: 360 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.3558, allocations: 17.84 kB / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.3558, allocations: 7.984 kB / 1.12 GB, free: 328 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.3558, allocations: 30.56 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3558, allocations: 0 / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.356, allocations: 53.53 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.356, allocations: 81.11 kB / 1.12 GB, free: 128 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3562, allocations: 126.1 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3562, allocations: 37.64 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.3563, allocations: 107.9 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.3563, allocations: 3.953 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.3563, allocations: 17.72 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3565, allocations: 322.8 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.3565, allocations: 3.938 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.3565, allocations: 21.72 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.3566, allocations: 25.7 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3566, allocations: 0 / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.605e-05/0.3567, allocations: 61.59 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3567, allocations: 8 kB / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3567, allocations: 0 / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3567, allocations: 3.938 kB / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.3568, allocations: 7.984 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3568, allocations: 4 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.3568, allocations: 3.938 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3568, allocations: 0 / 1.12 GB, free: 15.33 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 8.797e-05/0.3569, allocations: 117.8 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.3569, allocations: 12.02 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.3569, allocations: 15.48 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.357, allocations: 4 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.357, allocations: 4 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.357, allocations: 7.922 kB / 1.121 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.3573, allocations: 410.5 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3573, allocations: 3.938 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.3574, allocations: 7.984 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3574, allocations: 0 / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3574, allocations: 0 / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3574, allocations: 4.062 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3574, allocations: 4 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.08e-05/0.3575, allocations: 69.95 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.3575, allocations: 11.88 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.3575, allocations: 4 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.3575, allocations: 4 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.3575, allocations: 3.938 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.3575, allocations: 0 / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.3576, allocations: 100.9 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3576, allocations: 0 / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000189/0.3578, allocations: 16.03 kB / 1.121 GB, free: 14.48 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.0001176/0.3579, allocations: 91.25 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.548e-05/0.358, allocations: 19.98 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.358, allocations: 3.938 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/0.358, allocations: 7.938 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.3582, allocations: 15.84 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3585, allocations: 158.9 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.268e-05/0.3586, allocations: 79.28 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.597e-05/0.3586, allocations: 4 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.3586, allocations: 12.5 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of SimCode: time 7.22e-07/0.3586, allocations: 0 / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of Templates: time 0.00268/0.3613, allocations: 336.4 kB / 1.122 GB, free: 13.7 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.705463466001675]