Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0101/0.0101, allocations: 102 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 191.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.738/2.738, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 1.054 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001911/1.025, allocations: 0.7015 MB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009507/1.026, allocations: 0.804 MB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/1.026, allocations: 8 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/1.026, allocations: 3.938 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/1.026, allocations: 3.938 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/1.026, allocations: 15.92 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.265e-05/1.026, allocations: 47.89 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/1.026, allocations: 8 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/1.026, allocations: 15.92 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/1.026, allocations: 27.91 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/1.026, allocations: 8 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/1.026, allocations: 4 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/1.027, allocations: 7.938 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/1.027, allocations: 15.92 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/1.027, allocations: 39.86 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.027, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.898e-06/1.027, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.027, allocations: 3.938 kB / 1.209 GB, free: 11.86 MB / 0.9356 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.0005348/1.027, allocations: 363.2 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.027, allocations: 8.031 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/1.027, allocations: 8.844 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/1.027, allocations: 170.1 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/1.027, allocations: 4.375 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/1.027, allocations: 384 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/1.028, allocations: 66.22 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.028, allocations: 4.188 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/1.028, allocations: 11.92 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.028, allocations: 4 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/1.028, allocations: 63.92 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/1.028, allocations: 268.8 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/1.029, allocations: 62.47 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/1.029, allocations: 36.92 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/1.029, allocations: 0 / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1.029, allocations: 38.5 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/1.029, allocations: 0 / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005524/1.029, allocations: 133.5 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/1.029, allocations: 51.41 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/1.03, allocations: 113.8 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/1.03, allocations: 25.7 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/1.03, allocations: 88.05 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/1.03, allocations: 15.83 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/1.03, allocations: 17.72 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.03, allocations: 310.8 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/1.03, allocations: 35.95 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/1.03, allocations: 27.97 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/1.03, allocations: 72.78 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.03, allocations: 3.938 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003046/1.031, allocations: 97.56 kB / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.031, allocations: 4 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.031, allocations: 4 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.031, allocations: 4 kB / 1.211 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/1.031, allocations: 19.97 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.031, allocations: 0 / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.873e-05/1.031, allocations: 15.92 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/1.031, allocations: 0 / 1.212 GB, free: 9.527 MB / 0.9356 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 7.828e-05/1.031, allocations: 113.8 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/1.031, allocations: 7.906 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/1.032, allocations: 109.5 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.032, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.032, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/1.032, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/1.032, allocations: 177.6 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.032, allocations: 0 / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.404e-05/1.032, allocations: 19.98 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.032, allocations: 384 / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/1.032, allocations: 0 / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.032, allocations: 0 / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.032, allocations: 0 / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/1.032, allocations: 207.4 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/1.032, allocations: 84.95 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/1.032, allocations: 0 / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/1.032, allocations: 15.98 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/1.032, allocations: 7.984 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/1.032, allocations: 4 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.485e-05/1.033, allocations: 79.28 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.033, allocations: 3.938 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002163/1.033, allocations: 12 kB / 1.212 GB, free: 8.59 MB / 0.9356 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.0001457/1.033, allocations: 103.2 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00034/1.033, allocations: 67.92 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.033, allocations: 0 / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/1.033, allocations: 39.91 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/1.034, allocations: 11.92 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/1.034, allocations: 129.5 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/1.034, allocations: 0.6807 MB / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.23e-05/1.034, allocations: 0 / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/1.034, allocations: 11.44 kB / 1.213 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/1.034, allocations: 4 kB / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of Templates: time 0.002826/1.037, allocations: 0.6832 MB / 1.214 GB, free: 6.812 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches