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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 219.2 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.409/3.409, allocations: 0.505 GB / 0.8108 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003185/0.003185, allocations: 63.39 kB / 1.178 GB, free: 16.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3637, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002489/0.3662, allocations: 0.7167 MB / 1.355 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3675, allocations: 0.8358 MB / 1.356 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.3676, allocations: 0 / 1.356 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.3676, allocations: 3.938 kB / 1.356 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.246e-05/0.3677, allocations: 11.94 kB / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.3678, allocations: 11.98 kB / 1.356 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3679, allocations: 51.78 kB / 1.356 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3681, allocations: 7.984 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.3681, allocations: 19.98 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.3682, allocations: 19.86 kB / 1.356 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.3682, allocations: 4 kB / 1.356 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.3682, allocations: 4 kB / 1.356 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.3683, allocations: 11.98 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.3683, allocations: 11.94 kB / 1.356 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.3684, allocations: 47.73 kB / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3684, allocations: 4 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3684, allocations: 0 / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3684, allocations: 0 / 1.356 GB, free: 6.137 MB / 1.045 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.0005926/0.369, allocations: 290.2 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3691, allocations: 12.03 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.3691, allocations: 0.9375 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3692, allocations: 118.4 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3692, allocations: 384 / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3692, allocations: 12.31 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.3695, allocations: 70.2 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3695, allocations: 4.125 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3695, allocations: 3.938 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3695, allocations: 0 / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.3698, allocations: 71.91 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.3702, allocations: 236 kB / 1.357 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3704, allocations: 62.41 kB / 1.357 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.3706, allocations: 36.92 kB / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3706, allocations: 4 kB / 1.357 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3706, allocations: 34.55 kB / 1.357 GB, free: 5.074 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3706, allocations: 0 / 1.357 GB, free: 5.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005381/0.3712, allocations: 121.6 kB / 1.357 GB, free: 4.949 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.3712, allocations: 59.34 kB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3713, allocations: 109.8 kB / 1.357 GB, free: 4.762 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3713, allocations: 25.7 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.3714, allocations: 88.12 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.3714, allocations: 11.91 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3714, allocations: 13.72 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3716, allocations: 314.8 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3717, allocations: 35.95 kB / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.3719, allocations: 35.91 kB / 1.358 GB, free: 4.223 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.3721, allocations: 64.78 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3721, allocations: 3.938 kB / 1.358 GB, free: 4.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003079/0.3725, allocations: 101.6 kB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3725, allocations: 8 kB / 1.358 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3725, allocations: 0 / 1.358 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3725, allocations: 3.984 kB / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3726, allocations: 15.98 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3726, allocations: 4 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.3727, allocations: 11.98 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3727, allocations: 4 kB / 1.358 GB, free: 4 MB / 1.045 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 8.745e-05/0.3728, allocations: 117.7 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3728, allocations: 7.953 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.3732, allocations: 105.6 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3732, allocations: 0 / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.3732, allocations: 11.98 kB / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3732, allocations: 3.938 kB / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3734, allocations: 144.6 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3734, allocations: 0 / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.3735, allocations: 11.98 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3735, allocations: 4 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3735, allocations: 0 / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3735, allocations: 0 / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3735, allocations: 7.922 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.3738, allocations: 199.8 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.3738, allocations: 7.953 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3739, allocations: 0 / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.374, allocations: 11.98 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.374, allocations: 11.98 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.374, allocations: 0 / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.3741, allocations: 87.27 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3741, allocations: 0 / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002213/0.3743, allocations: 11.94 kB / 1.358 GB, free: 3.191 MB / 1.045 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.0001163/0.3744, allocations: 94.5 kB / 1.359 GB, free: 3.094 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.3747, allocations: 71.92 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3747, allocations: 0 / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3749, allocations: 39.89 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3752, allocations: 13.59 kB / 1.359 GB, free: 2.973 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.3755, allocations: 147.3 kB / 1.359 GB, free: 2.797 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3758, allocations: 0.6807 MB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.3759, allocations: 7.438 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3759, allocations: 0 / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of Templates: time 0.0022/0.3781, allocations: 0.7566 MB / 1.36 GB, free: 1.332 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.53142183701857]