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.001755/0.001755, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002265/0.002265, allocations: 219 kB / 23.01 MB, free: 4.969 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.637/1.637, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.34/3.34, allocations: 0.49 GB / 0.7959 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.00207/0.00207, allocations: 71.59 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4326, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002651/0.4352, allocations: 0.6998 MB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.4365, allocations: 0.8626 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.4366, allocations: 4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.4366, allocations: 3.938 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.698e-05/0.4367, allocations: 3.938 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.4369, allocations: 27.89 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.33e-05/0.437, allocations: 39.98 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.4371, allocations: 11.98 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.4372, allocations: 31.84 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.4372, allocations: 19.92 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.4373, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.4373, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.4373, allocations: 19.92 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.4373, allocations: 11.94 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.4375, allocations: 47.78 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4375, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4375, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4375, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 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.0005948/0.4381, allocations: 282.2 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4381, allocations: 12.03 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.4382, allocations: 4.938 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4383, allocations: 114.4 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.4383, allocations: 12.25 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.4383, allocations: 4.375 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.4386, allocations: 69.59 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4386, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.4386, allocations: 3.984 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4386, allocations: 3.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.4389, allocations: 55.94 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.4394, allocations: 232.4 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.4396, allocations: 58.53 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4397, allocations: 28.92 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.4397, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.4397, allocations: 34.56 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.4397, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004611/0.4402, allocations: 121.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.4402, allocations: 51.41 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4404, allocations: 105.8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.4404, allocations: 25.7 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.4404, allocations: 88.14 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.4405, allocations: 11.84 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.4405, allocations: 21.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4407, allocations: 318.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4408, allocations: 31.97 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.4409, allocations: 19.98 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.4411, allocations: 48.81 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.4411, allocations: 4 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002428/0.4413, allocations: 85.58 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4413, allocations: 8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4413, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4413, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.4415, allocations: 15.98 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4415, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.4416, allocations: 7.984 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.4416, allocations: 0 / 1.331 GB, free: 13.2 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.484e-05/0.4417, allocations: 114.3 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.4417, allocations: 11.95 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.4417, allocations: 4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4417, allocations: 3.984 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4417, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.4417, allocations: 7.938 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.4418, allocations: 336 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4419, allocations: 15.92 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.4419, allocations: 11.98 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003493/0.4423, allocations: 168.8 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003634/0.4427, allocations: 266.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001225/0.4428, allocations: 27.98 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.4428, allocations: 87.27 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of Backend: time 3.41e-07/0.4428, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004386/0.4433, allocations: 108 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006587/0.4439, allocations: 0.5767 MB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of Templates: time 0.004071/0.448, allocations: 1.115 MB / 1.333 GB, free: 10.61 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/jenkins1/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.51979622199724]