Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001064/0.001064, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008538/0.0008538, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9136/0.9136, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.682/1.682, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.9518 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.816e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00142/0.001448, allocations: 0.7961 MB / 0.9526 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000866/0.002314, allocations: 0.9093 MB / 0.9535 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.002398, allocations: 0 / 0.9535 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.002521, allocations: 23.8 kB / 0.9535 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.109e-05/0.002552, allocations: 11.86 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.002749, allocations: 27.91 kB / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.813e-05/0.002848, allocations: 71.78 kB / 0.9536 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.002966, allocations: 23.97 kB / 0.9536 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.003099, allocations: 47.84 kB / 0.9537 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.003158, allocations: 27.91 kB / 0.9537 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.003175, allocations: 4 kB / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.91e-05/0.003214, allocations: 15.92 kB / 0.9537 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.003228, allocations: 15.94 kB / 0.9537 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.00325, allocations: 15.92 kB / 0.9537 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.003383, allocations: 87.72 kB / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003384, allocations: 0 / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.363e-06/0.003386, allocations: 0 / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003389, allocations: 0 / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004826/0.003872, allocations: 317.9 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.003908, allocations: 16.03 kB / 0.9541 GB, free: 496 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.004031, allocations: 16.88 kB / 0.9542 GB, free: 480 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.004223, allocations: 144.5 kB / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004232, allocations: 4.375 kB / 0.9543 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.004243, allocations: 8.375 kB / 0.9543 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.004357, allocations: 62.78 kB / 0.9544 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.004365, allocations: 192 / 0.9544 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.004376, allocations: 8.359 kB / 0.9544 GB, free: 224 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.004381, allocations: 4.375 kB / 0.9544 GB, free: 220 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.816e-05/0.004449, allocations: 35.92 kB / 0.9544 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.004797, allocations: 252.4 kB / 0.9546 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.004932, allocations: 46.55 kB / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.004969, allocations: 16.86 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.004986, allocations: 4.078 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.005009, allocations: 50.53 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.00501, allocations: 0 / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0001793/0.005189, allocations: 69.62 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.005218, allocations: 51.41 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.005292, allocations: 133.8 kB / 0.955 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.005305, allocations: 25.7 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.005352, allocations: 100.1 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.005367, allocations: 11.89 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.005394, allocations: 13.72 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.005469, allocations: 322.8 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.0055, allocations: 19.98 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.005526, allocations: 16 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.005575, allocations: 32.78 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.005577, allocations: 4 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.3e-05/0.00566, allocations: 69.56 kB / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.005671, allocations: 4 kB / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.005677, allocations: 4 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.005689, allocations: 0 / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.005743, allocations: 11.98 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.005747, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.00578, allocations: 7.984 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.005785, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 6.301e-05/0.005848, allocations: 121.8 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.005865, allocations: 7.891 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.005887, allocations: 16.28 kB / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005889, allocations: 0 / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.005892, allocations: 0 / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005895, allocations: 4 kB / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.55e-05/0.00599, allocations: 121.3 kB / 0.9559 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005991, allocations: 0 / 0.9559 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.006011, allocations: 11.92 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006013, allocations: 0 / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.00602, allocations: 0 / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.00602, allocations: 0 / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.006023, allocations: 4 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.006126, allocations: 159.8 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.006138, allocations: 11.83 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.006152, allocations: 8 kB / 0.9561 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.607e-05/0.006198, allocations: 7.984 kB / 0.9561 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.00624, allocations: 15.92 kB / 0.9561 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.006243, allocations: 0 / 0.9561 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.006288, allocations: 109.4 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006288, allocations: 0 / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001451/0.006433, allocations: 8 kB / 0.9562 GB, free: 14.17 MB / 0.9167 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * 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 8.941e-05/0.006522, allocations: 95.25 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.006622, allocations: 35.98 kB / 0.9563 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006623, allocations: 0 / 0.9563 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.006658, allocations: 19.92 kB / 0.9563 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.006842, allocations: 13.55 kB / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.00713, allocations: 190.3 kB / 0.9565 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.007179, allocations: 75.33 kB / 0.9566 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.00721, allocations: 20.48 kB / 0.9566 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.007211, allocations: 0 / 0.9566 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of Templates: time 0.001748/0.008959, allocations: 1.004 MB / 0.9576 GB, free: 12.67 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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: 6.21396922506392]