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.001871/0.001871, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002207/0.002207, allocations: 220 kB / 23.05 MB, free: 4.844 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.762 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.423/3.423, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002056/0.002056, allocations: 66.25 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3739, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002129/0.376, allocations: 0.8055 MB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001171/0.3761, allocations: 35.8 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.3762, allocations: 4 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.3762, allocations: 15.86 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.149e-05/0.3763, allocations: 11.92 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.951e-05/0.3764, allocations: 15.98 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.3765, allocations: 67.83 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3766, allocations: 27.92 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.3767, allocations: 27.86 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.3768, allocations: 23.86 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3768, allocations: 4 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.3768, allocations: 8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.3768, allocations: 15.92 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.3769, allocations: 35.75 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.377, allocations: 79.58 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.377, allocations: 3.984 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.377, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.377, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 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.0004339/0.3774, allocations: 303 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3775, allocations: 8.031 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.3775, allocations: 8.891 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.3778, allocations: 134.4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3778, allocations: 8.375 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3778, allocations: 8.375 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.378, allocations: 101.4 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.378, allocations: 192 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.378, allocations: 3.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.378, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.3781, allocations: 47.84 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.3786, allocations: 360.4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.043e-05/0.3786, allocations: 37.34 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.3787, allocations: 17.78 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.3787, allocations: 4 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3787, allocations: 38.5 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3787, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001718/0.3789, allocations: 57.52 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.3789, allocations: 81.05 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3791, allocations: 131.3 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3791, allocations: 25.7 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.3792, allocations: 107.9 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.3792, allocations: 11.95 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.3792, allocations: 13.97 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3794, allocations: 318.8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.3794, allocations: 7.984 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.3794, allocations: 17.72 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.3794, allocations: 21.72 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3794, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.54e-05/0.3795, allocations: 61.58 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3796, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3796, allocations: 64 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3796, allocations: 7.938 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.3796, allocations: 12 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3796, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.3797, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3797, allocations: 4 kB / 1.33 GB, free: 13.64 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 9.135e-05/0.3798, allocations: 125.7 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.3798, allocations: 3.953 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.3798, allocations: 15.41 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3798, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3799, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3799, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.3803, allocations: 410.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3803, allocations: 3.938 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.3803, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3803, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3803, allocations: 4 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3803, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3803, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.829e-05/0.3804, allocations: 73.94 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.3804, allocations: 27.86 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.3804, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.3804, allocations: 3.938 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.3805, allocations: 7.984 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.3805, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.233e-05/0.3805, allocations: 95.27 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3805, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001912/0.3807, allocations: 12 kB / 1.331 GB, free: 12.77 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.0001177/0.3809, allocations: 99.23 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.882e-05/0.3809, allocations: 16 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3809, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.381, allocations: 7.938 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.3811, allocations: 15.92 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.3815, allocations: 176.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.803e-05/0.3815, allocations: 83.12 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.3816, allocations: 11.69 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3816, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of Templates: time 0.002302/0.3839, allocations: 0.7937 MB / 1.332 GB, free: 11.5 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: 11.401695278007537]