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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_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.00205/0.00205, allocations: 109.6 kB / 16.42 MB, free: 6.512 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.002321/0.002322, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 67.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9562/0.9578, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002085/0.96, allocations: 0.7006 MB / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.9611, allocations: 0.8079 MB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.9611, allocations: 0 / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.9612, allocations: 11.92 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.9613, allocations: 3.938 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.9615, allocations: 7.984 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.9616, allocations: 47.86 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.9617, allocations: 15.97 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.227e-05/0.9618, allocations: 19.92 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.9619, allocations: 23.92 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.9619, allocations: 4 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.9619, allocations: 4 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.962, allocations: 11.92 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.962, allocations: 15.94 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.9621, allocations: 39.86 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.9621, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.937e-06/0.9622, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.9622, allocations: 3.938 kB / 1.169 GB, free: 2.109 MB / 0.8887 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.0005903/0.9628, allocations: 363.2 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.9628, allocations: 8.922 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.9629, allocations: 12.78 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.963, allocations: 166.2 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.963, allocations: 4.375 kB / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.9631, allocations: 4.375 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.9633, allocations: 70.2 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.9633, allocations: 4.188 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.9634, allocations: 3.938 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.9634, allocations: 4 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.9637, allocations: 59.92 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.9641, allocations: 264.8 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.9643, allocations: 64.91 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.9645, allocations: 40.91 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.9645, allocations: 0 / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.9645, allocations: 30.56 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.9645, allocations: 8 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005548/0.9651, allocations: 129.5 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.9651, allocations: 51.41 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.9652, allocations: 105.8 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.9652, allocations: 25.7 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.9653, allocations: 100 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.9653, allocations: 7.844 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.9654, allocations: 13.72 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9655, allocations: 318.8 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.9657, allocations: 31.97 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.9658, allocations: 31.97 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.9661, allocations: 68.78 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9661, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003413/0.9665, allocations: 105.8 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.9665, allocations: 8 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9665, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.9665, allocations: 4.031 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.9667, allocations: 15.98 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.9667, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.9668, allocations: 15.92 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.9668, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 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.831e-05/0.9669, allocations: 120 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.9669, allocations: 11.89 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.9673, allocations: 109.5 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9673, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9673, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.9674, allocations: 77.11 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.9674, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.9675, allocations: 19.92 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.9676, allocations: 11.92 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004122/0.968, allocations: 180.9 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004103/0.9684, allocations: 282.6 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001533/0.9686, allocations: 35.95 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.9686, allocations: 87.58 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of Backend: time 5.62e-07/0.9686, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.9691, allocations: 118.4 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005546/0.9697, allocations: 0.5687 MB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.003122/0.9728, allocations: 0.8485 MB / 1.173 GB, free: 13.24 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches