Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 101.2 kB / 16.4 MB, free: 6.508 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 194.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 437 MB / 0.7171 GB, free: 4.062 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 71.88 kB / 1.027 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.965/0.9671, allocations: 151.6 MB / 1.175 GB, free: 17.94 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.00193/0.969, allocations: 0.714 MB / 1.176 GB, free: 17.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008969/0.97, allocations: 0.8105 MB / 1.177 GB, free: 16.87 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.97, allocations: 0 / 1.177 GB, free: 16.87 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.9701, allocations: 4.734 kB / 1.177 GB, free: 16.87 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.9701, allocations: 5.344 kB / 1.177 GB, free: 16.86 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.9702, allocations: 15.69 kB / 1.177 GB, free: 16.86 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.704e-05/0.9703, allocations: 45.47 kB / 1.177 GB, free: 16.83 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.9705, allocations: 19.45 kB / 1.177 GB, free: 16.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.956e-05/0.9705, allocations: 13.38 kB / 1.177 GB, free: 16.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.9706, allocations: 27.11 kB / 1.177 GB, free: 16.8 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.9706, allocations: 8.359 kB / 1.177 GB, free: 16.8 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.9707, allocations: 2.844 kB / 1.177 GB, free: 16.8 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.9707, allocations: 7.484 kB / 1.177 GB, free: 16.79 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.9707, allocations: 12.88 kB / 1.177 GB, free: 16.79 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.9708, allocations: 42.95 kB / 1.177 GB, free: 16.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9708, allocations: 0.7969 kB / 1.177 GB, free: 16.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9708, allocations: 5.094 kB / 1.177 GB, free: 16.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.9709, allocations: 0 / 1.177 GB, free: 16.77 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004755/0.9713, allocations: 367.3 kB / 1.177 GB, free: 16.39 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9714, allocations: 10.89 kB / 1.177 GB, free: 16.39 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.9714, allocations: 7.547 kB / 1.177 GB, free: 16.39 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.997e-05/0.9715, allocations: 168.3 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.9715, allocations: 1.594 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.9715, allocations: 1.656 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.9718, allocations: 73.97 kB / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9718, allocations: 192 / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.9718, allocations: 3.938 kB / 1.177 GB, free: 16.14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.9719, allocations: 1.031 kB / 1.177 GB, free: 16.14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.9722, allocations: 63.08 kB / 1.178 GB, free: 16.14 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.9725, allocations: 278.1 kB / 1.178 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.9727, allocations: 55.77 kB / 1.178 GB, free: 15.81 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.9729, allocations: 40.88 kB / 1.178 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.9729, allocations: 5.219 kB / 1.178 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.9729, allocations: 32.31 kB / 1.178 GB, free: 15.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.9729, allocations: 0 / 1.178 GB, free: 15.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005372/0.9735, allocations: 128.1 kB / 1.178 GB, free: 15.71 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.9735, allocations: 56.94 kB / 1.178 GB, free: 15.64 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/0.9736, allocations: 107.2 kB / 1.178 GB, free: 15.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.9736, allocations: 25.7 kB / 1.178 GB, free: 15.51 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.9736, allocations: 88.25 kB / 1.178 GB, free: 15.42 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.9736, allocations: 14.02 kB / 1.178 GB, free: 15.41 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.9737, allocations: 17.02 kB / 1.178 GB, free: 15.39 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.9737, allocations: 313.3 kB / 1.179 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.9739, allocations: 39.09 kB / 1.179 GB, free: 15.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.974, allocations: 35.03 kB / 1.179 GB, free: 15.06 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.9743, allocations: 66.88 kB / 1.179 GB, free: 15.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9743, allocations: 3.938 kB / 1.179 GB, free: 15.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003208/0.9746, allocations: 103.5 kB / 1.179 GB, free: 14.99 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9747, allocations: 4.875 kB / 1.179 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9747, allocations: 0 / 1.179 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9747, allocations: 5.469 kB / 1.179 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.9748, allocations: 18.97 kB / 1.179 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9748, allocations: 2.359 kB / 1.179 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.9749, allocations: 14.81 kB / 1.179 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.9749, allocations: 1.312 kB / 1.179 GB, free: 14.98 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.076e-05/0.975, allocations: 112.6 kB / 1.179 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.975, allocations: 5.391 kB / 1.179 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.9754, allocations: 108.8 kB / 1.179 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9754, allocations: 2.094 kB / 1.179 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9754, allocations: 8 kB / 1.179 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.9754, allocations: 0 / 1.179 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.9756, allocations: 171.6 kB / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9756, allocations: 0 / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.9757, allocations: 16.12 kB / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.9757, allocations: 0 / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.9757, allocations: 2.109 kB / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9757, allocations: 0 / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9757, allocations: 0 / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.976, allocations: 203.4 kB / 1.18 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.9761, allocations: 79.11 kB / 1.18 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.9761, allocations: 0.5156 kB / 1.18 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.9762, allocations: 11.34 kB / 1.18 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.9763, allocations: 15.97 kB / 1.18 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.9763, allocations: 1.469 kB / 1.18 GB, free: 14.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.687e-05/0.9763, allocations: 84 kB / 1.18 GB, free: 14.26 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9763, allocations: 0 / 1.18 GB, free: 14.26 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002247/0.9765, allocations: 10.69 kB / 1.18 GB, free: 14.26 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001153/0.9767, allocations: 98.44 kB / 1.18 GB, free: 14.17 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.977, allocations: 70.98 kB / 1.18 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.977, allocations: 0 / 1.18 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.9772, allocations: 39.31 kB / 1.18 GB, free: 14.15 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.9775, allocations: 8.281 kB / 1.18 GB, free: 14.15 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.9778, allocations: 128.7 kB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.935e-05/0.9779, allocations: 0.685 MB / 1.181 GB, free: 13.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.9779, allocations: 2.031 kB / 1.181 GB, free: 13.32 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.9779, allocations: 9.562 kB / 1.181 GB, free: 13.32 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.978, allocations: 0 / 1.181 GB, free: 13.32 MB / 0.92 GB Notification: Performance of Templates: time 0.003173/0.9811, allocations: 0.6867 MB / 1.181 GB, free: 13.23 MB / 0.92 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches