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.001603/0.001603, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001743/0.001743, allocations: 190.1 kB / 16.13 MB, free: 6.652 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.8 MB / 0.7342 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 71.56 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3621, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002054/0.3643, allocations: 0.7711 MB / 1.053 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000897/0.3652, allocations: 0.8079 MB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.3652, allocations: 0 / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.3653, allocations: 0 / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.3654, allocations: 7.922 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.3655, allocations: 12 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.407e-05/0.3656, allocations: 47.84 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3657, allocations: 7.984 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.881e-05/0.3658, allocations: 19.92 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.3658, allocations: 19.86 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3659, allocations: 4 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.3659, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.3659, allocations: 11.98 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.366, allocations: 7.938 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.3661, allocations: 47.8 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3661, allocations: 4 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3661, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3661, allocations: 4 kB / 1.054 GB, free: 7.016 MB / 0.8106 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.0005674/0.3667, allocations: 357 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3667, allocations: 12.03 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.3668, allocations: 4.938 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3669, allocations: 180.2 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3669, allocations: 4.375 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.367, allocations: 8.375 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.3672, allocations: 70.16 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3673, allocations: 192 / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3673, allocations: 3.938 kB / 1.054 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3673, allocations: 0 / 1.054 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.3676, allocations: 67.92 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.368, allocations: 265 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3682, allocations: 54.42 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.3684, allocations: 44.91 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3684, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3685, allocations: 34.56 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3685, allocations: 0 / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005761/0.3691, allocations: 137.4 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.3691, allocations: 55.41 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.3692, allocations: 105.8 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3692, allocations: 25.7 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.3693, allocations: 88.14 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3693, allocations: 7.812 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.3694, allocations: 21.66 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3695, allocations: 314.8 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3697, allocations: 31.97 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3698, allocations: 35.95 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3701, allocations: 64.78 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3701, allocations: 11.94 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003178/0.3704, allocations: 93.62 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3705, allocations: 4 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3705, allocations: 3.938 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3705, allocations: 0 / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3706, allocations: 19.92 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.3707, allocations: 4 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.3707, allocations: 12.31 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3708, allocations: 7.984 kB / 1.056 GB, free: 4.684 MB / 0.8106 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.398e-05/0.3708, allocations: 109.8 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.3709, allocations: 7.906 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.3713, allocations: 109.5 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3713, allocations: 4 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3713, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3713, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.3715, allocations: 169.6 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3715, allocations: 0 / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3716, allocations: 15.97 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3716, allocations: 4 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3716, allocations: 3.938 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3716, allocations: 8 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3716, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.372, allocations: 191.4 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.3721, allocations: 92.94 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3721, allocations: 0 / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3722, allocations: 11.98 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.3722, allocations: 4 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.3723, allocations: 3.984 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.51e-05/0.3723, allocations: 91.58 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3723, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000218/0.3725, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.8106 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.0001667/0.3727, allocations: 103.2 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.3731, allocations: 75.86 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3731, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.3732, allocations: 39.95 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3736, allocations: 7.938 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.3739, allocations: 143.1 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.3742, allocations: 0.6809 MB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.3742, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.3743, allocations: 11.44 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.3743, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of Templates: time 0.002497/0.3768, allocations: 0.5517 MB / 1.058 GB, free: 2.105 MB / 0.8106 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