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.00129/0.00129, allocations: 102.1 kB / 19.7 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.001476/0.001476, allocations: 217.8 kB / 23.01 MB, free: 5.125 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.8/2.8, allocations: 476.8 MB / 0.7714 GB, free: 4.258 MB / 0.6231 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.002067/0.002067, allocations: 69.52 kB / 1.119 GB, free: 40.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3007, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.0022/0.3029, allocations: 0.8407 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.303, allocations: 35.86 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.303, allocations: 4 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.3031, allocations: 7.875 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.3032, allocations: 11.86 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.929e-05/0.3032, allocations: 19.98 kB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.3034, allocations: 63.83 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3035, allocations: 23.98 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.3036, allocations: 31.8 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.3036, allocations: 31.86 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3036, allocations: 7.938 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.3037, allocations: 8 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.3037, allocations: 11.98 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.3037, allocations: 39.73 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.3039, allocations: 75.52 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3039, allocations: 4 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3039, allocations: 0 / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3039, allocations: 0 / 1.286 GB, free: 9.984 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.0004411/0.3043, allocations: 318.1 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3044, allocations: 8.031 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.3044, allocations: 8.891 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.3046, allocations: 130.4 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3046, allocations: 384 / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3046, allocations: 12.38 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3048, allocations: 95.8 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3048, allocations: 192 / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.3048, allocations: 7.938 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3048, allocations: 4 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.3049, allocations: 39.92 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.3055, allocations: 407.8 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.507e-05/0.3055, allocations: 41.19 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.3056, allocations: 17.84 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.3056, allocations: 0 / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3056, allocations: 38.56 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3056, allocations: 0 / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002038/0.3058, allocations: 61.52 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.3059, allocations: 81.36 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.3061, allocations: 166.1 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3061, allocations: 25.7 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.3062, allocations: 104 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/0.3062, allocations: 3.953 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.3062, allocations: 17.72 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3064, allocations: 322.8 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.3064, allocations: 4 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.3064, allocations: 21.72 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.3065, allocations: 29.64 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3065, allocations: 0 / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.702e-05/0.3066, allocations: 57.59 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3066, allocations: 8 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3066, allocations: 3.938 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3066, allocations: 4.062 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.3067, allocations: 11.98 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3067, allocations: 0 / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.3067, allocations: 3.953 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3067, allocations: 4 kB / 1.288 GB, free: 7.738 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 9.612e-05/0.3068, allocations: 113.8 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.3068, allocations: 7.953 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.3069, allocations: 11.75 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3069, allocations: 8 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3069, allocations: 0 / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3069, allocations: 3.984 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.3073, allocations: 441.8 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3073, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.3073, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3073, allocations: 96 / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.3074, allocations: 3.984 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3074, allocations: 4.062 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3074, allocations: 7.938 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.3075, allocations: 77.88 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.3075, allocations: 19.84 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.3075, allocations: 0 / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/0.3075, allocations: 3.938 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.3075, allocations: 7.969 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3075, allocations: 4 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.339e-05/0.3076, allocations: 122.1 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3076, allocations: 0 / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001845/0.3078, allocations: 4 kB / 1.289 GB, free: 6.824 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.000117/0.3079, allocations: 99.23 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.892e-05/0.308, allocations: 19.94 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.308, allocations: 4.125 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.308, allocations: 8 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.3082, allocations: 11.67 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.3086, allocations: 184.4 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3089, allocations: 0.6889 MB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.309, allocations: 15.56 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.309, allocations: 0 / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of Templates: time 0.002492/0.3115, allocations: 0.8694 MB / 1.29 GB, free: 4.859 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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: 10.848811707983259]