Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001751/0.001751, allocations: 110 kB / 18.94 MB, free: 2.789 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.002628/0.002628, allocations: 193.2 kB / 22.23 MB, free: 5.234 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.534/1.534, 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 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.344/3.344, allocations: 0.4893 GB / 0.7884 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 65.95 kB / 1.145 GB, free: 30.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4497, allocations: 174.9 MB / 1.316 GB, free: 9.691 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002024/0.4518, allocations: 0.716 MB / 1.317 GB, free: 8.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.4532, allocations: 0.843 MB / 1.318 GB, free: 8.125 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.4532, allocations: 0 / 1.318 GB, free: 8.125 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.4533, allocations: 3.938 kB / 1.318 GB, free: 8.121 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.4534, allocations: 7.938 kB / 1.318 GB, free: 8.113 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.4536, allocations: 31.89 kB / 1.318 GB, free: 8.082 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.4537, allocations: 43.91 kB / 1.318 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.4539, allocations: 8 kB / 1.318 GB, free: 8.031 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.454, allocations: 23.92 kB / 1.318 GB, free: 8.008 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.454, allocations: 27.84 kB / 1.318 GB, free: 7.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.4541, allocations: 4 kB / 1.318 GB, free: 7.977 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.4541, allocations: 4 kB / 1.318 GB, free: 7.973 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.4541, allocations: 19.98 kB / 1.318 GB, free: 7.953 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.4541, allocations: 11.88 kB / 1.318 GB, free: 7.941 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.4543, allocations: 55.78 kB / 1.318 GB, free: 7.887 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4543, allocations: 0 / 1.318 GB, free: 7.887 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4543, allocations: 0 / 1.318 GB, free: 7.887 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4543, allocations: 0 / 1.318 GB, free: 7.887 MB / 1.014 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.0006171/0.4549, allocations: 278.3 kB / 1.318 GB, free: 7.586 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4549, allocations: 8.031 kB / 1.318 GB, free: 7.578 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.455, allocations: 12.89 kB / 1.318 GB, free: 7.566 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.4551, allocations: 110.5 kB / 1.318 GB, free: 7.434 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.4552, allocations: 4.312 kB / 1.318 GB, free: 7.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.4552, allocations: 4.375 kB / 1.318 GB, free: 7.426 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.4554, allocations: 77.56 kB / 1.318 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4554, allocations: 0 / 1.318 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4554, allocations: 0 / 1.318 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4554, allocations: 4 kB / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.4556, allocations: 51.89 kB / 1.318 GB, free: 7.289 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.4561, allocations: 267.8 kB / 1.319 GB, free: 6.984 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.4563, allocations: 62.53 kB / 1.319 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.4564, allocations: 24.92 kB / 1.319 GB, free: 6.887 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.4565, allocations: 4 kB / 1.319 GB, free: 6.883 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4565, allocations: 30.56 kB / 1.319 GB, free: 6.844 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4565, allocations: 0 / 1.319 GB, free: 6.844 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004421/0.4569, allocations: 113.5 kB / 1.319 GB, free: 6.727 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.457, allocations: 51.41 kB / 1.319 GB, free: 6.664 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.4571, allocations: 117.7 kB / 1.319 GB, free: 6.539 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.4571, allocations: 33.7 kB / 1.319 GB, free: 6.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.4572, allocations: 80.14 kB / 1.319 GB, free: 6.418 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.4572, allocations: 11.95 kB / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.4572, allocations: 17.7 kB / 1.319 GB, free: 6.383 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4574, allocations: 318.8 kB / 1.319 GB, free: 6.062 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.4575, allocations: 23.97 kB / 1.319 GB, free: 6.039 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.4576, allocations: 19.98 kB / 1.319 GB, free: 6.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.4578, allocations: 56.81 kB / 1.319 GB, free: 5.961 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4578, allocations: 0 / 1.319 GB, free: 5.961 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002683/0.4581, allocations: 93.53 kB / 1.32 GB, free: 5.863 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4581, allocations: 4 kB / 1.32 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4581, allocations: 0 / 1.32 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4581, allocations: 0 / 1.32 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.4582, allocations: 11.98 kB / 1.32 GB, free: 5.848 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4582, allocations: 4 kB / 1.32 GB, free: 5.844 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.4583, allocations: 11.92 kB / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4583, allocations: 4.312 kB / 1.32 GB, free: 5.828 MB / 1.014 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.404e-05/0.4584, allocations: 114.4 kB / 1.32 GB, free: 5.707 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.4584, allocations: 11.95 kB / 1.32 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.4585, allocations: 8 kB / 1.32 GB, free: 5.676 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4585, allocations: 336 / 1.32 GB, free: 5.676 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4585, allocations: 3.984 kB / 1.32 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4585, allocations: 8 kB / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.4587, allocations: 148.6 kB / 1.32 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4587, allocations: 0 / 1.32 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.4588, allocations: 11.98 kB / 1.32 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4588, allocations: 0 / 1.32 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.4588, allocations: 11.92 kB / 1.32 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4588, allocations: 0 / 1.32 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4588, allocations: 0 / 1.32 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.4591, allocations: 183.4 kB / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.4591, allocations: 3.953 kB / 1.32 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.4591, allocations: 4 kB / 1.32 GB, free: 5.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4592, allocations: 11.98 kB / 1.32 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.4593, allocations: 3.984 kB / 1.32 GB, free: 5.234 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.4593, allocations: 8 kB / 1.32 GB, free: 5.227 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.4593, allocations: 83.27 kB / 1.32 GB, free: 5.145 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4593, allocations: 0 / 1.32 GB, free: 5.145 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002279/0.4596, allocations: 19.94 kB / 1.32 GB, free: 5.125 MB / 1.014 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.000122/0.4597, allocations: 99.77 kB / 1.32 GB, free: 5.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.46, allocations: 51.89 kB / 1.32 GB, free: 4.969 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.46, allocations: 3.938 kB / 1.32 GB, free: 4.965 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.4601, allocations: 35.97 kB / 1.32 GB, free: 4.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4604, allocations: 4 kB / 1.32 GB, free: 4.926 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.4608, allocations: 133.5 kB / 1.321 GB, free: 4.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.4611, allocations: 0.6807 MB / 1.321 GB, free: 4.062 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.364e-05/0.4612, allocations: 4 kB / 1.321 GB, free: 4.059 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.4612, allocations: 27.36 kB / 1.321 GB, free: 4.031 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/0.4612, allocations: 0 / 1.321 GB, free: 4.031 MB / 1.014 GB Notification: Performance of Templates: time 0.003596/0.4648, allocations: 0.904 MB / 1.322 GB, free: 3.133 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.739587649703026]