Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009338/0.009338, allocations: 102.9 kB / 15.74 MB, free: 6.441 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.001911/0.001911, allocations: 194.3 kB / 16.67 MB, free: 6.348 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3631, allocations: 159.1 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001867/0.3649, allocations: 0.7086 MB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.3658, allocations: 0.8057 MB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.3659, allocations: 8 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.3659, allocations: 3.938 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.366, allocations: 3.938 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.378e-05/0.3661, allocations: 7.984 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.092e-05/0.3661, allocations: 51.84 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3663, allocations: 4 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.169e-05/0.3663, allocations: 15.98 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.3664, allocations: 19.91 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3664, allocations: 7.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.3664, allocations: 7.938 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.3664, allocations: 15.98 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.3665, allocations: 11.94 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.995e-05/0.3666, allocations: 43.8 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3666, allocations: 4 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3666, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.3666, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 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.0005326/0.3671, allocations: 363.3 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3671, allocations: 8.031 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3672, allocations: 8.891 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3673, allocations: 172.4 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3673, allocations: 4.375 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3673, allocations: 4.375 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.3676, allocations: 66.22 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3676, allocations: 192 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3676, allocations: 7.875 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3676, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.3679, allocations: 67.92 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.3682, allocations: 264.9 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.3684, allocations: 54.48 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3685, allocations: 44.91 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3686, allocations: 3.938 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3686, allocations: 30.56 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3686, allocations: 0 / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005215/0.3691, allocations: 129.6 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.3691, allocations: 51.41 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.3692, allocations: 117.8 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3692, allocations: 25.7 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.3693, allocations: 80.14 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3693, allocations: 23.78 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.3693, allocations: 9.719 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3695, allocations: 326.8 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3696, allocations: 27.97 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3697, allocations: 39.89 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.37, allocations: 73.05 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.37, allocations: 7.875 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000298/0.3703, allocations: 93.62 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3703, allocations: 8 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3703, allocations: 4 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3703, allocations: 0 / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3704, allocations: 15.98 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3704, allocations: 4 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.3705, allocations: 15.92 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3705, allocations: 4 kB / 1.224 GB, free: 9.641 MB / 0.9825 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.608e-05/0.3706, allocations: 117.7 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3706, allocations: 4 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.371, allocations: 105.5 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.371, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.371, allocations: 4 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.371, allocations: 0 / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.3712, allocations: 165.6 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3712, allocations: 0 / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.3713, allocations: 15.97 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3713, allocations: 0 / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3713, allocations: 12 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3713, allocations: 0 / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3713, allocations: 0 / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.3717, allocations: 195.3 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.3717, allocations: 81.09 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3717, allocations: 8 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3718, allocations: 11.98 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3719, allocations: 4 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3719, allocations: 0 / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.372, allocations: 91.27 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.372, allocations: 0 / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002202/0.3722, allocations: 4 kB / 1.225 GB, free: 8.73 MB / 0.9825 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.0001684/0.3723, allocations: 107.2 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3727, allocations: 67.86 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3727, allocations: 0 / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.3728, allocations: 35.95 kB / 1.225 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3731, allocations: 29.47 kB / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.3735, allocations: 137.2 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3738, allocations: 0.6807 MB / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.3738, allocations: 0 / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.3738, allocations: 15.44 kB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3738, allocations: 0 / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of Templates: time 0.002896/0.3767, allocations: 0.6863 MB / 1.227 GB, free: 6.93 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches