Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.961/2.961, allocations: 476.7 MB / 0.7629 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 176] 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 63.91 kB / 1.107 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 168.7 MB / 1.272 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002587/1.125, allocations: 0.7903 MB / 1.273 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001318/1.126, allocations: 0.871 MB / 1.274 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/1.126, allocations: 4.75 kB / 1.274 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/1.126, allocations: 10.23 kB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/1.126, allocations: 9.312 kB / 1.274 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/1.126, allocations: 38.84 kB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/1.127, allocations: 87.05 kB / 1.274 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/1.127, allocations: 18.56 kB / 1.274 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/1.127, allocations: 36 kB / 1.274 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/1.127, allocations: 53.97 kB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/1.127, allocations: 7.906 kB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/1.127, allocations: 7.688 kB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/1.127, allocations: 24.08 kB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/1.127, allocations: 38.81 kB / 1.274 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/1.127, allocations: 87.3 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.127, allocations: 0 / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.156e-06/1.127, allocations: 0 / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.127, allocations: 4.75 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005984/1.128, allocations: 397 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.128, allocations: 8.938 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/1.128, allocations: 9.656 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.128, allocations: 175.7 kB / 1.275 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.128, allocations: 6.469 kB / 1.275 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/1.128, allocations: 4.531 kB / 1.275 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/1.128, allocations: 104.5 kB / 1.275 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.128, allocations: 4 kB / 1.275 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.128, allocations: 6.859 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.128, allocations: 1.469 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/1.129, allocations: 97.73 kB / 1.275 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/1.129, allocations: 354.7 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/1.13, allocations: 114.4 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/1.13, allocations: 49.23 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/1.13, allocations: 5.031 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.13, allocations: 35.59 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/1.13, allocations: 1.031 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0008195/1.131, allocations: 186.1 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/1.131, allocations: 57.27 kB / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/1.131, allocations: 128.4 kB / 1.276 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/1.131, allocations: 26.64 kB / 1.276 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/1.131, allocations: 101.8 kB / 1.276 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/1.131, allocations: 15.11 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/1.131, allocations: 22.98 kB / 1.276 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.132, allocations: 319.1 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/1.132, allocations: 43.81 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/1.132, allocations: 50.12 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/1.132, allocations: 95.77 kB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.132, allocations: 0 / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004374/1.133, allocations: 142.8 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/1.133, allocations: 5.219 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.133, allocations: 1.188 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.133, allocations: 1.219 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/1.133, allocations: 24.67 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.133, allocations: 4 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/1.133, allocations: 20.34 kB / 1.277 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/1.133, allocations: 11.36 kB / 1.277 GB, free: 4.617 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001008/1.133, allocations: 113.5 kB / 1.277 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/1.133, allocations: 8.297 kB / 1.277 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/1.134, allocations: 153.4 kB / 1.277 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.134, allocations: 4.812 kB / 1.277 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.134, allocations: 4.719 kB / 1.277 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/1.134, allocations: 8.5 kB / 1.277 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/1.134, allocations: 195.7 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.134, allocations: 0 / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/1.134, allocations: 23.42 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.134, allocations: 0.5938 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/1.134, allocations: 2.547 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.134, allocations: 0.75 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.134, allocations: 4.891 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/1.135, allocations: 247 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/1.135, allocations: 85.48 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/1.135, allocations: 1.031 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/1.135, allocations: 11.17 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/1.135, allocations: 29.31 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/1.135, allocations: 3.328 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.952e-05/1.135, allocations: 98.39 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.135, allocations: 0.7812 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002387/1.135, allocations: 11.5 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001476/1.136, allocations: 100.6 kB / 1.278 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004526/1.136, allocations: 101.6 kB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.136, allocations: 0.9062 kB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/1.136, allocations: 65.66 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/1.137, allocations: 4.656 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/1.137, allocations: 187.3 kB / 1.278 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/1.137, allocations: 0.6963 MB / 1.279 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.454e-05/1.137, allocations: 13.91 kB / 1.279 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/1.137, allocations: 20.22 kB / 1.279 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.137, allocations: 0 / 1.279 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.005018/1.142, allocations: 1.615 MB / 1.28 GB, free: 2.715 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.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: 9.848804840818048]