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.0017/0.0017, allocations: 110 kB / 18.93 MB, free: 2.945 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.002076/0.002076, allocations: 188.4 kB / 22.23 MB, free: 5.16 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.615/1.615, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.012/3.012, allocations: 476.7 MB / 0.7646 GB, free: 9.855 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002046/0.002046, allocations: 63.91 kB / 1.11 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9856/0.9877, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002157/0.9898, allocations: 0.6958 MB / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.991, allocations: 0.8468 MB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.991, allocations: 4 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.9911, allocations: 3.938 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.9911, allocations: 3.938 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.9913, allocations: 19.98 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.9914, allocations: 47.84 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.9915, allocations: 15.98 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.9916, allocations: 19.92 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.9916, allocations: 27.91 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.9917, allocations: 4 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.9917, allocations: 4 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.9917, allocations: 11.98 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.9917, allocations: 19.88 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.9918, allocations: 55.44 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9919, allocations: 4 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9919, allocations: 0 / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.9919, allocations: 0 / 1.276 GB, free: 2.422 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.0005671/0.9924, allocations: 280.9 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.9925, allocations: 8.031 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.9925, allocations: 8.891 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.9926, allocations: 110.5 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.9927, allocations: 12.31 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.9927, allocations: 384 / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.9929, allocations: 73.58 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9929, allocations: 3.938 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.9929, allocations: 0 / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.9929, allocations: 0 / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.9931, allocations: 63.86 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.9936, allocations: 255.9 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.9938, allocations: 62.58 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.9939, allocations: 32.88 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.994, allocations: 0 / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.994, allocations: 38.5 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 2.675e-06/0.994, allocations: 3.984 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004059/0.9944, allocations: 105.6 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.9944, allocations: 51.41 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.9945, allocations: 109.8 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.9946, allocations: 25.7 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.9946, allocations: 96.08 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.9947, allocations: 11.89 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.9947, allocations: 17.72 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.9949, allocations: 318.8 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/0.995, allocations: 19.98 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.995, allocations: 31.91 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.9952, allocations: 56.81 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9952, allocations: 0 / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002273/0.9955, allocations: 77.61 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9955, allocations: 11.98 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.9955, allocations: 0 / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.9955, allocations: 0 / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.9956, allocations: 11.98 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.9956, allocations: 4 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.9957, allocations: 8 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.9957, allocations: 7.984 kB / 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 9.194e-05/0.9958, allocations: 117.7 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.9958, allocations: 4 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.9959, allocations: 8 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.9959, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9959, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9959, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.9961, allocations: 160.7 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9961, allocations: 0 / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.982e-05/0.9961, allocations: 15.98 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.9961, allocations: 0 / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.9962, allocations: 0 / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9962, allocations: 0 / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/0.9962, allocations: 8.109 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.9965, allocations: 191.3 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.9965, allocations: 3.953 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.9965, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.9966, allocations: 7.984 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.9966, allocations: 11.98 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.9967, allocations: 4.375 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.9967, allocations: 87.27 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9967, allocations: 0 / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002222/0.9969, allocations: 11.94 kB / 1.279 GB, free: 15.66 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.0001287/0.9971, allocations: 99.25 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.9973, allocations: 59.92 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9973, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.9974, allocations: 35.91 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.9977, allocations: 1.719 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.9981, allocations: 137.4 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.9984, allocations: 0.6846 MB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.9985, allocations: 4 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.9985, allocations: 11.44 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.9985, allocations: 4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.003576/1.002, allocations: 0.9104 MB / 1.28 GB, free: 13.67 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.755878265947104]