Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001363/0.001363, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.001448/0.001448, allocations: 159.8 kB / 23.01 MB, free: 4.965 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.519/1.519, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.726/2.726, allocations: 359.1 MB / 0.6044 GB, free: 14.89 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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.003017/0.003017, allocations: 67.89 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3937, allocations: 169.9 MB / 1.117 GB, free: 2.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002223/0.3959, allocations: 0.7946 MB / 1.118 GB, free: 1.793 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000131/0.3961, allocations: 43.78 kB / 1.118 GB, free: 1.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.3961, allocations: 0 / 1.118 GB, free: 1.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.3962, allocations: 11.86 kB / 1.118 GB, free: 1.738 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.409e-05/0.3963, allocations: 7.875 kB / 1.118 GB, free: 1.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.784e-05/0.3963, allocations: 19.98 kB / 1.118 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.3964, allocations: 63.84 kB / 1.118 GB, free: 1.648 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3966, allocations: 31.91 kB / 1.118 GB, free: 1.617 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.3967, allocations: 35.8 kB / 1.118 GB, free: 1.582 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.3967, allocations: 23.84 kB / 1.118 GB, free: 1.559 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3967, allocations: 4 kB / 1.118 GB, free: 1.555 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.3967, allocations: 8 kB / 1.118 GB, free: 1.547 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.3968, allocations: 11.94 kB / 1.118 GB, free: 1.535 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.3968, allocations: 31.78 kB / 1.119 GB, free: 1.504 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.3969, allocations: 75.59 kB / 1.119 GB, free: 1.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.397, allocations: 0 / 1.119 GB, free: 1.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.397, allocations: 0 / 1.119 GB, free: 1.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.397, allocations: 4 kB / 1.119 GB, free: 1.426 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.00049/0.3975, allocations: 306 kB / 1.119 GB, free: 1.094 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3975, allocations: 11.97 kB / 1.119 GB, free: 1.082 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.3975, allocations: 12.89 kB / 1.119 GB, free: 1.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.3978, allocations: 134.4 kB / 1.119 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3978, allocations: 4.375 kB / 1.119 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.3978, allocations: 8.375 kB / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.398, allocations: 91.89 kB / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.398, allocations: 192 / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.398, allocations: 7.938 kB / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.398, allocations: 8 kB / 1.119 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.766e-05/0.3981, allocations: 35.92 kB / 1.119 GB, free: 0.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.3986, allocations: 352.5 kB / 1.12 GB, free: 380 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.277e-05/0.3987, allocations: 45.23 kB / 1.12 GB, free: 316 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.3987, allocations: 17.77 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.3987, allocations: 0 / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.3987, allocations: 38.56 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3987, allocations: 3.938 kB / 1.12 GB, free: 240 kB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.3989, allocations: 57.53 kB / 1.12 GB, free: 176 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.399, allocations: 77.11 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3991, allocations: 125.8 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3992, allocations: 25.7 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.3992, allocations: 111.9 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.115e-06/0.3992, allocations: 7.953 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.3993, allocations: 21.7 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3994, allocations: 310.8 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.3995, allocations: 8 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.3995, allocations: 17.95 kB / 1.12 GB, free: 15.42 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.79e-05/0.3995, allocations: 37.66 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3995, allocations: 0 / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.646e-05/0.3996, allocations: 53.59 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3997, allocations: 6.969 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3997, allocations: 3.984 kB / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3997, allocations: 7.938 kB / 1.12 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.3997, allocations: 4 kB / 1.12 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3998, allocations: 64 / 1.12 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.3998, allocations: 11.94 kB / 1.12 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-06/0.3998, allocations: 4 kB / 1.12 GB, free: 15.29 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.766e-05/0.3999, allocations: 113.8 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3999, allocations: 3.953 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.3999, allocations: 15.39 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3999, allocations: 0 / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3999, allocations: 3.938 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3999, allocations: 4 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.4003, allocations: 406.5 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.4003, allocations: 12 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.4004, allocations: 3.984 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4004, allocations: 4 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.4004, allocations: 0 / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4004, allocations: 0 / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4004, allocations: 0 / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.4005, allocations: 77.89 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.4005, allocations: 19.86 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.4005, allocations: 3.938 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.715e-05/0.4005, allocations: 0 / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.4005, allocations: 8.031 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.4005, allocations: 0 / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.304e-05/0.4006, allocations: 100.6 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4006, allocations: 0 / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000185/0.4008, allocations: 8 kB / 1.121 GB, free: 14.45 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.0001267/0.4009, allocations: 99.23 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.652e-05/0.401, allocations: 15.94 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.401, allocations: 4 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.401, allocations: 12.12 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.4012, allocations: 7.844 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.4015, allocations: 166.5 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.729e-05/0.4016, allocations: 79.28 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.4016, allocations: 4 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.4017, allocations: 8.625 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.4017, allocations: 4 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of Templates: time 0.002579/0.4042, allocations: 326.9 kB / 1.122 GB, free: 13.67 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.825286168954335]