Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001398/0.001398, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001682/0.001682, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.647/1.647, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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 3.319/3.319, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [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.002168/0.002168, allocations: 73.69 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4333, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001985/0.4353, allocations: 0.6931 MB / 1.326 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.4364, allocations: 0.8704 MB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.4365, allocations: 0 / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.4365, allocations: 3.938 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.4366, allocations: 3.938 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.4368, allocations: 23.97 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.4368, allocations: 43.91 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.4369, allocations: 8 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.892e-05/0.437, allocations: 23.91 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.4371, allocations: 27.86 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.4371, allocations: 8 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.4371, allocations: 4 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.4372, allocations: 11.92 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.4372, allocations: 11.94 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.4373, allocations: 55.78 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4373, allocations: 0 / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4373, allocations: 0 / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4373, allocations: 0 / 1.327 GB, free: 92 kB / 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.0005489/0.4378, allocations: 278.2 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4379, allocations: 8.031 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.4379, allocations: 8.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.4381, allocations: 122.4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4381, allocations: 384 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.4381, allocations: 4.375 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.4383, allocations: 77.5 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4383, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4383, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4383, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.4385, allocations: 47.95 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.439, allocations: 220.5 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.4392, allocations: 70.5 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.4393, allocations: 28.88 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.4393, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4393, allocations: 30.56 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.4393, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004204/0.4397, allocations: 113.6 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.4398, allocations: 59.34 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.4399, allocations: 109.8 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4399, allocations: 25.7 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.44, allocations: 88.14 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.44, allocations: 15.84 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.44, allocations: 17.7 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4402, allocations: 318.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.4403, allocations: 27.97 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.311e-05/0.4404, allocations: 27.97 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.4406, allocations: 44.83 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4406, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002414/0.4408, allocations: 89.58 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4408, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4408, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4408, allocations: 8 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.441, allocations: 7.984 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.441, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.441, allocations: 7.984 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.441, allocations: 4.266 kB / 1.329 GB, free: 14.07 MB / 1.029 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,intGreEquThr.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.752e-05/0.4411, allocations: 120.9 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.4412, allocations: 7.938 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.4412, allocations: 15.98 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4412, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4412, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4412, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.4414, allocations: 117.3 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4414, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.4414, allocations: 11.98 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4414, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.4415, allocations: 4 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4415, allocations: 320 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4415, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.4418, allocations: 187.3 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.4418, allocations: 15.98 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.4418, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-05/0.4419, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.4419, allocations: 11.98 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.442, allocations: 3.984 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.442, allocations: 91.27 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.442, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002206/0.4422, allocations: 4 kB / 1.33 GB, free: 13.42 MB / 1.029 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 (intGreEquThr.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.0001114/0.4423, allocations: 99.25 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.4426, allocations: 59.88 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4426, allocations: 3.938 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4427, allocations: 35.97 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.443, allocations: 7.875 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.4433, allocations: 133.6 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.791e-05/0.4434, allocations: 67.34 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.299e-05/0.4434, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.4435, allocations: 11.44 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4435, allocations: 0 / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of Templates: time 0.003609/0.4471, allocations: 0.9699 MB / 1.331 GB, free: 12 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.70041461661458]