Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001961/0.001961, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002494/0.002494, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.504/1.504, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.845/2.845, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 67.89 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9705, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001649/0.9722, allocations: 0.6934 MB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007194/0.9729, allocations: 0.8608 MB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.9729, allocations: 4 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.9729, allocations: 6.844 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.678e-05/0.973, allocations: 11.3 kB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.9731, allocations: 25.02 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.05e-05/0.9732, allocations: 44.64 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.9733, allocations: 14.53 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.9733, allocations: 24.5 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.9734, allocations: 17.05 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.9734, allocations: 4.875 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.9734, allocations: 4.688 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.9734, allocations: 15.22 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.9735, allocations: 20.59 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 7.96e-05/0.9736, allocations: 41.16 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.9736, allocations: 3.938 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9736, allocations: 0 / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.9736, allocations: 2.938 kB / 1.156 GB, free: 32.14 MB / 1.076 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.0003997/0.974, allocations: 283.1 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.974, allocations: 8.188 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.974, allocations: 7.656 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.9741, allocations: 116.7 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.9741, allocations: 7.156 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.9741, allocations: 7.031 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.9743, allocations: 74.22 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.9743, allocations: 0 / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.9743, allocations: 0 / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.9743, allocations: 0 / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.9745, allocations: 47.41 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.9748, allocations: 226.2 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.975, allocations: 65.36 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.808e-05/0.9751, allocations: 33.36 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.9751, allocations: 0 / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.9751, allocations: 33.41 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.9751, allocations: 0 / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.000399/0.9755, allocations: 111.6 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.707e-05/0.9755, allocations: 58.47 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.9756, allocations: 109.9 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.9756, allocations: 25.7 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.9756, allocations: 90.28 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.9756, allocations: 11.84 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.9757, allocations: 22.52 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.9757, allocations: 314.8 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.9758, allocations: 25.2 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.752e-05/0.9759, allocations: 21.83 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.9761, allocations: 60.8 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9761, allocations: 0 / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002138/0.9763, allocations: 85.23 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.9763, allocations: 9.562 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.9763, allocations: 0 / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9763, allocations: 2.844 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.9764, allocations: 9 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.9764, allocations: 4 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.9765, allocations: 12.95 kB / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.9765, allocations: 2.938 kB / 1.157 GB, free: 30.57 MB / 1.076 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 4.696e-05/0.9765, allocations: 116.2 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.9766, allocations: 3.953 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.9766, allocations: 10.84 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.9766, allocations: 0 / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.9766, allocations: 0 / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.9766, allocations: 0 / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.9767, allocations: 121.2 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9767, allocations: 7.234 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-05/0.9768, allocations: 15.83 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.9768, allocations: 0 / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.9768, allocations: 3.094 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9768, allocations: 0 / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.9768, allocations: 0 / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.977, allocations: 190.2 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.977, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.9771, allocations: 3.281 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.9772, allocations: 9.938 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.9772, allocations: 13.38 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.9772, allocations: 2.875 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.482e-05/0.9772, allocations: 84.97 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9772, allocations: 0 / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002281/0.9775, allocations: 5.656 kB / 1.158 GB, free: 30.05 MB / 1.076 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 7.045e-05/0.9775, allocations: 104.6 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.9778, allocations: 58.41 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9778, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.9779, allocations: 28.41 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.9782, allocations: 13.47 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.9784, allocations: 136.7 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.9785, allocations: 77.91 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.733e-05/0.9785, allocations: 6.906 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.9785, allocations: 18.66 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9785, allocations: 0 / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of Templates: time 0.003085/0.9816, allocations: 0.9377 MB / 1.159 GB, free: 29.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.134460416971706]