Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.001254/0.001254, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001418/0.001418, allocations: 223.6 kB / 23 MB, free: 4.914 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.79/2.79, allocations: 476 MB / 0.7707 GB, free: 4.742 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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [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.002119/0.002119, allocations: 67.41 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3484, allocations: 170 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002124/0.3506, allocations: 0.7885 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001231/0.3507, allocations: 47.72 kB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.3507, allocations: 0 / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.3508, allocations: 11.86 kB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.834e-05/0.3508, allocations: 7.875 kB / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.938e-05/0.3509, allocations: 19.98 kB / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.351, allocations: 67.83 kB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3512, allocations: 27.98 kB / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.3512, allocations: 23.92 kB / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.3513, allocations: 27.73 kB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3513, allocations: 8 kB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.3513, allocations: 4 kB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.3513, allocations: 23.91 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.3514, allocations: 15.88 kB / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.3515, allocations: 75.59 kB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3515, allocations: 0 / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3515, allocations: 7.938 kB / 1.285 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3515, allocations: 3.984 kB / 1.285 GB, free: 10.84 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.0004605/0.352, allocations: 306.1 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.352, allocations: 12.03 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.352, allocations: 8.891 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3522, allocations: 138.3 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3523, allocations: 4.375 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3523, allocations: 8.375 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3524, allocations: 106.2 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3524, allocations: 192 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3525, allocations: 11.94 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3525, allocations: 4 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.546e-05/0.3525, allocations: 35.98 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.353, allocations: 352.4 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.3531, allocations: 37.16 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.3532, allocations: 13.84 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3532, allocations: 4 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3532, allocations: 38.59 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3532, allocations: 4 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001803/0.3534, allocations: 57.52 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.3534, allocations: 77.11 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3536, allocations: 128 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3536, allocations: 25.7 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.3536, allocations: 115.9 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-06/0.3537, allocations: 3.953 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.3537, allocations: 17.72 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3538, allocations: 310.8 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.3539, allocations: 12.23 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.3539, allocations: 29.7 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.3539, allocations: 25.66 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3539, allocations: 0 / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.233e-05/0.354, allocations: 57.64 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.354, allocations: 4 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.354, allocations: 7.938 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3541, allocations: 3.938 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.3541, allocations: 8 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3541, allocations: 8 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.3542, allocations: 4 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.3542, allocations: 0 / 1.287 GB, free: 8.695 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 8.848e-05/0.3542, allocations: 121.8 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.3543, allocations: 7.953 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.3543, allocations: 7.406 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3543, allocations: 0 / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3543, allocations: 4 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3543, allocations: 0 / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.3547, allocations: 418.5 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3547, allocations: 3.938 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.3547, allocations: 4 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3547, allocations: 3.938 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-06/0.3547, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3547, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3547, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.3548, allocations: 85.88 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.3549, allocations: 3.938 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.3549, allocations: 4 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.3549, allocations: 4.062 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.3549, allocations: 3.984 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.3549, allocations: 0 / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.626e-05/0.355, allocations: 103.3 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.355, allocations: 0 / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001842/0.3552, allocations: 7.953 kB / 1.288 GB, free: 7.852 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.0001168/0.3553, allocations: 95.25 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.849e-05/0.3554, allocations: 19.94 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3554, allocations: 0 / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.3554, allocations: 12.12 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.3556, allocations: 7.922 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.3559, allocations: 184.5 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.54e-05/0.356, allocations: 79.14 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.356, allocations: 11.44 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.356, allocations: 3.938 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of Templates: time 0.00233/0.3583, allocations: 0.8072 MB / 1.289 GB, free: 6.57 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.06225523725152]