Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001386/0.001386, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001643/0.001643, allocations: 191.3 kB / 22.17 MB, free: 5.656 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.644/1.644, allocations: 225.6 MB / 250.9 MB, free: 13.32 MB / 206.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.842/2.842, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 67.91 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.977/0.9792, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002072/0.9813, allocations: 0.7074 MB / 1.275 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.9823, allocations: 0.8429 MB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.9824, allocations: 0 / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.9824, allocations: 3.938 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.9825, allocations: 7.938 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.9826, allocations: 19.98 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.318e-05/0.9827, allocations: 43.91 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.9828, allocations: 19.97 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/0.9829, allocations: 19.88 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.603e-05/0.983, allocations: 31.84 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.983, allocations: 4 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.983, allocations: 4 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.983, allocations: 7.984 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.9831, allocations: 23.86 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.9832, allocations: 42.53 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9832, allocations: 4 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9832, allocations: 4 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.9832, allocations: 0 / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000591/0.9838, allocations: 355.3 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.9838, allocations: 12.03 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.9839, allocations: 4.891 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.984, allocations: 172.3 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.984, allocations: 384 / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.9841, allocations: 4.375 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.9843, allocations: 89.5 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9843, allocations: 0 / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.9843, allocations: 0 / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.9843, allocations: 3.938 kB / 1.276 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.9845, allocations: 47.95 kB / 1.276 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.985, allocations: 288.8 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.9852, allocations: 70.47 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.9853, allocations: 24.92 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.9853, allocations: 7.984 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.9854, allocations: 30.56 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.9854, allocations: 3.938 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004469/0.9858, allocations: 113.6 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.9859, allocations: 51.41 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.986, allocations: 105.8 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.986, allocations: 29.7 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.986, allocations: 88.09 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.9861, allocations: 11.89 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.9861, allocations: 17.7 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.9863, allocations: 326.8 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.9864, allocations: 23.97 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.9865, allocations: 24.16 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.9867, allocations: 48.91 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9867, allocations: 0 / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002652/0.9869, allocations: 97.53 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.9869, allocations: 4 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9869, allocations: 0 / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.987, allocations: 4 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.9871, allocations: 11.98 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.9871, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.951e-05/0.9872, allocations: 7.984 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.9872, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001059/0.9873, allocations: 121.8 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.9873, allocations: 0 / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.9873, allocations: 15.89 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.9873, allocations: 0 / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9873, allocations: 0 / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.9873, allocations: 0 / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.9875, allocations: 181.6 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9875, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.9876, allocations: 7.984 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.9876, allocations: 8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.9877, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.9877, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9877, allocations: 7.875 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.988, allocations: 179.4 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.988, allocations: 89 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.9881, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.9882, allocations: 15.98 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.9882, allocations: 7.984 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.9882, allocations: 4 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.9883, allocations: 87.28 kB / 1.278 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9883, allocations: 0 / 1.278 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002292/0.9885, allocations: 11.92 kB / 1.278 GB, free: 15.54 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001356/0.9886, allocations: 106.7 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.9889, allocations: 55.89 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.9889, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.989, allocations: 31.97 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.9893, allocations: 8 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.9897, allocations: 141.3 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.99, allocations: 0.6846 MB / 1.279 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.9901, allocations: 4 kB / 1.279 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.9901, allocations: 19.42 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.9901, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.003393/0.9935, allocations: 0.9039 MB / 1.28 GB, free: 13.53 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.21173061709851]