Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001601/0.001601, allocations: 110.2 kB / 19.69 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.001816/0.001816, allocations: 216.2 kB / 23.01 MB, free: 4.566 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.461/3.461, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002374/0.002374, allocations: 69.19 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3694, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002364/0.3718, allocations: 0.8335 MB / 1.355 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.3719, allocations: 43.78 kB / 1.355 GB, free: 7.109 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.372, allocations: 4 kB / 1.355 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.372, allocations: 3.938 kB / 1.355 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.747e-05/0.3721, allocations: 15.86 kB / 1.355 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.78e-05/0.3721, allocations: 15.98 kB / 1.355 GB, free: 7.07 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3723, allocations: 63.78 kB / 1.355 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3724, allocations: 31.97 kB / 1.355 GB, free: 6.977 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.3725, allocations: 27.86 kB / 1.355 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.3725, allocations: 23.86 kB / 1.355 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3725, allocations: 8 kB / 1.355 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.3726, allocations: 8 kB / 1.355 GB, free: 6.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.3726, allocations: 19.92 kB / 1.355 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.3726, allocations: 31.8 kB / 1.355 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3728, allocations: 83.45 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3728, allocations: 0 / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3728, allocations: 0 / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3728, allocations: 0 / 1.355 GB, free: 6.777 MB / 1.045 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.0004698/0.3733, allocations: 302 kB / 1.356 GB, free: 6.449 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3733, allocations: 12.03 kB / 1.356 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.3733, allocations: 16.88 kB / 1.356 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.3735, allocations: 130.4 kB / 1.356 GB, free: 6.27 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3735, allocations: 12.31 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.3736, allocations: 12.38 kB / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3737, allocations: 93.73 kB / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3737, allocations: 192 / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3738, allocations: 7.938 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3738, allocations: 4 kB / 1.356 GB, free: 6.133 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.3739, allocations: 43.92 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.3745, allocations: 399.8 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.784e-05/0.3745, allocations: 37.19 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.3746, allocations: 25.84 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.3746, allocations: 0 / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3746, allocations: 30.56 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3746, allocations: 0 / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002013/0.3748, allocations: 57.52 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.3749, allocations: 89.05 kB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.3751, allocations: 161.1 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3751, allocations: 25.7 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.3752, allocations: 108 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.3752, allocations: 3.953 kB / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.3752, allocations: 17.72 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3754, allocations: 322.8 kB / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.3754, allocations: 0 / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.3754, allocations: 25.66 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.463e-05/0.3755, allocations: 25.72 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3755, allocations: 3.938 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000105/0.3756, allocations: 61.58 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3756, allocations: 8 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3756, allocations: 3.938 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3756, allocations: 0 / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.3757, allocations: 4 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3757, allocations: 8.062 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.3757, allocations: 7.938 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.3757, allocations: 0 / 1.357 GB, free: 4.539 MB / 1.045 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.65e-05/0.3758, allocations: 117.8 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.3759, allocations: 7.953 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.3759, allocations: 15.75 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3759, allocations: 0 / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3759, allocations: 0 / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3759, allocations: 4 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.3763, allocations: 449.7 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3763, allocations: 3.984 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.3764, allocations: 4 kB / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3764, allocations: 0 / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3764, allocations: 3.938 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3764, allocations: 0 / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3764, allocations: 0 / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.867e-05/0.3765, allocations: 85.95 kB / 1.358 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.3765, allocations: 7.938 kB / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3765, allocations: 4 kB / 1.358 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.338e-05/0.3765, allocations: 4 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.3765, allocations: 4.078 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.3765, allocations: 0 / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001094/0.3767, allocations: 128.5 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3767, allocations: 0 / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000206/0.3769, allocations: 8 kB / 1.358 GB, free: 3.617 MB / 1.045 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.0001109/0.377, allocations: 103.2 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.149e-05/0.3771, allocations: 15.94 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3771, allocations: 0 / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.3771, allocations: 7.938 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.3772, allocations: 17.91 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.3776, allocations: 188.4 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.378, allocations: 0.6924 MB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.378, allocations: 11.44 kB / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.378, allocations: 0 / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of Templates: time 0.002659/0.3806, allocations: 0.8609 MB / 1.36 GB, free: 1.648 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.523412573005771]