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.001969/0.001969, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002764/0.002764, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.615/1.615, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.918/2.918, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] 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.002126/0.002126, allocations: 65.77 kB / 1.117 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.416, allocations: 169.9 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002528/0.4185, allocations: 0.8 MB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000135/0.4186, allocations: 43.78 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.4187, allocations: 0 / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.604e-05/0.4187, allocations: 7.875 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.273e-05/0.4188, allocations: 15.86 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.691e-05/0.4189, allocations: 23.98 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.419, allocations: 55.84 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.4192, allocations: 31.97 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.4192, allocations: 27.86 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.4193, allocations: 23.84 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.4193, allocations: 8 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.4193, allocations: 4 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.4194, allocations: 15.88 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.4194, allocations: 31.8 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.4196, allocations: 75.58 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4196, allocations: 8 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4196, allocations: 0 / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4196, allocations: 0 / 1.284 GB, free: 10.76 MB / 0.9825 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.0005899/0.4202, allocations: 310.1 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4202, allocations: 8.031 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.4202, allocations: 8.891 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.4205, allocations: 134.4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4205, allocations: 8.375 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.4205, allocations: 8.312 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.4207, allocations: 91.86 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.4208, allocations: 8.188 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.4208, allocations: 11.88 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.4208, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.4209, allocations: 35.98 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.4215, allocations: 356.4 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.4216, allocations: 37.28 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.4216, allocations: 25.83 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.4216, allocations: 0 / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.4217, allocations: 42.44 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4217, allocations: 4 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001977/0.4218, allocations: 49.59 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.4219, allocations: 85.05 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.4221, allocations: 128.1 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.4221, allocations: 25.7 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.808e-05/0.4222, allocations: 111.9 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/0.4222, allocations: 3.953 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.4222, allocations: 21.7 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.4224, allocations: 314.8 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.4224, allocations: 12.25 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.4224, allocations: 17.7 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.4225, allocations: 25.72 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4225, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.593e-05/0.4226, allocations: 53.69 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4226, allocations: 8 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4226, allocations: 3.984 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.4226, allocations: 7.922 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.4227, allocations: 12.06 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4227, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.4227, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.4227, allocations: 4 kB / 1.286 GB, free: 8.617 MB / 0.9825 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 0.0001057/0.4228, allocations: 117.7 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.4229, allocations: 7.953 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.4229, allocations: 19.39 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4229, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4229, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4229, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.4233, allocations: 410.5 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.4233, allocations: 7.922 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.4234, allocations: 7.938 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4234, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.4234, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4234, allocations: 4 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4234, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.4235, allocations: 77.89 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.4235, allocations: 15.86 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.4235, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.4235, allocations: 4.094 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.4235, allocations: 0 / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.4235, allocations: 8 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.669e-05/0.4236, allocations: 99.27 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4236, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001888/0.4238, allocations: 11.95 kB / 1.287 GB, free: 7.766 MB / 0.9825 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.0001328/0.4239, allocations: 101.6 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.83e-05/0.424, allocations: 15.94 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.424, allocations: 128 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.4241, allocations: 8 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.4242, allocations: 14.44 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.4246, allocations: 154.8 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.789e-05/0.4247, allocations: 83.14 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.4248, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.4248, allocations: 11.44 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4248, allocations: 4.125 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of Templates: time 0.002871/0.4276, allocations: 375.9 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.672871269285679]