Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 189.3 kB / 16.66 MB, free: 6.582 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.559/1.559, allocations: 222.9 MB / 240.3 MB, free: 4.332 MB / 190.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.92/2.92, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.00163, allocations: 67.89 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3569, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002191/0.3591, allocations: 0.6517 MB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001687/0.3593, allocations: 15.91 kB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.3594, allocations: 0 / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.3595, allocations: 0 / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.3596, allocations: 7.938 kB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.371e-05/0.3596, allocations: 8 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.3598, allocations: 31.92 kB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.3599, allocations: 27.98 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.36, allocations: 19.92 kB / 1.167 GB, free: 6.008 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.36, allocations: 15.92 kB / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.36, allocations: 0 / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.3601, allocations: 4 kB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.3601, allocations: 11.98 kB / 1.167 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.3602, allocations: 15.88 kB / 1.167 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.3603, allocations: 51.69 kB / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3603, allocations: 4 kB / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3603, allocations: 0 / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3603, allocations: 4 kB / 1.168 GB, free: 5.902 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003957/0.3607, allocations: 351.2 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3608, allocations: 12.03 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.3608, allocations: 4.891 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.361, allocations: 184.3 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3611, allocations: 4.375 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.3611, allocations: 4.375 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.3613, allocations: 82.16 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3613, allocations: 192 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3613, allocations: 7.938 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3613, allocations: 4 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.3614, allocations: 47.97 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.362, allocations: 487.1 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.3621, allocations: 169.1 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.3622, allocations: 88.52 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.3622, allocations: 75.28 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.3623, allocations: 106 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3623, allocations: 3.938 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001081/0.3624, allocations: 41.59 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.3625, allocations: 130.7 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3626, allocations: 173.7 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.3627, allocations: 29.7 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.3627, allocations: 88.14 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.3628, allocations: 4 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.3628, allocations: 17.7 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3629, allocations: 314.8 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.363, allocations: 11.98 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.363, allocations: 4 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.363, allocations: 20.91 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.363, allocations: 3.938 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001267/0.3632, allocations: 49.64 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3632, allocations: 6.031 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3632, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3632, allocations: 4 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.3633, allocations: 4 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3633, allocations: 7.922 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.3633, allocations: 8 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3634, allocations: 8.031 kB / 1.17 GB, free: 3.168 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 (1): * Single equations (assignments): 1 * 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 0.000103/0.3635, allocations: 189.1 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.3636, allocations: 112.9 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.3636, allocations: 112.9 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.769e-05/0.3637, allocations: 176.3 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.444e-05/0.3638, allocations: 188.1 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.07e-05/0.3638, allocations: 184.3 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.3641, allocations: 421.1 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/0.3641, allocations: 101 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.3642, allocations: 104.9 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.881e-05/0.3643, allocations: 180.2 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-05/0.3643, allocations: 196.2 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.015e-05/0.3644, allocations: 180.2 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.33e-05/0.3645, allocations: 180.2 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.3646, allocations: 315.7 kB / 1.172 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.3647, allocations: 186 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.3648, allocations: 192.1 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3649, allocations: 101.3 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.365, allocations: 184.2 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.3651, allocations: 113 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001058/0.3652, allocations: 127.2 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3652, allocations: 0 / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002459/0.3654, allocations: 8 kB / 1.173 GB, free: 15.46 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 (0): * Single equations (assignments): 0 * 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.0001596/0.3656, allocations: 178.5 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.546e-05/0.3657, allocations: 16 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3657, allocations: 0 / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.3657, allocations: 7.938 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.3662, allocations: 466 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.3665, allocations: 212.1 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.3668, allocations: 0.6924 MB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.58e-05/0.3668, allocations: 4 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.3669, allocations: 11.44 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3669, allocations: 0 / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of Templates: time 0.002688/0.3696, allocations: 486.5 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches