Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.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.001641/0.001641, allocations: 97.11 kB / 19.71 MB, free: 2.109 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.002115/0.002115, allocations: 215.8 kB / 23.01 MB, free: 4.918 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.443/3.443, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") [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.002627/0.002627, allocations: 66.36 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4283, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002278/0.4306, allocations: 0.8878 MB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.4322, allocations: 1.081 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.4322, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.4324, allocations: 19.73 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.4325, allocations: 39.7 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.4329, allocations: 147.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.4334, allocations: 343.3 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.4336, allocations: 21.8 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.434, allocations: 183.5 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.4343, allocations: 219.4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.968e-05/0.4344, allocations: 32 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4345, allocations: 36 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.4346, allocations: 107.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.4348, allocations: 111.5 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.4353, allocations: 342.8 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.4353, allocations: 4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.166e-06/0.4353, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.4353, allocations: 3.938 kB / 1.331 GB, free: 13.4 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002072/0.4373, allocations: 0.7081 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4374, allocations: 8.031 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.4376, allocations: 36.78 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007832/0.4384, allocations: 277.9 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.4384, allocations: 20.36 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.4385, allocations: 28.11 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008492/0.4393, allocations: 343 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4393, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.4394, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.4394, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.4401, allocations: 207.8 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.4417, allocations: 0.5977 MB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/0.4424, allocations: 248.1 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/0.4429, allocations: 173.6 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.443, allocations: 8.438 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007937/0.4438, allocations: 345.6 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.4438, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001854/0.4456, allocations: 0.6317 MB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.4457, allocations: 89.11 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.4459, allocations: 210.7 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.446, allocations: 57.69 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.4461, allocations: 125.1 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.096e-05/0.4461, allocations: 83.44 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4463, allocations: 86.12 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4464, allocations: 342.8 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.4467, allocations: 112.8 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.447, allocations: 173.4 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.4474, allocations: 209.4 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4474, allocations: 0 / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006358/0.448, allocations: 335.5 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.448, allocations: 4 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.448, allocations: 3.984 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.448, allocations: 4 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.4483, allocations: 47.86 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4483, allocations: 4.125 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.4486, allocations: 87.64 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.4487, allocations: 16 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 0.0001963/0.4489, allocations: 175.5 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.4489, allocations: 19.86 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.731e-05/0.449, allocations: 45.39 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.449, allocations: 0 / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.449, allocations: 0 / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.449, allocations: 23.8 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.4491, allocations: 23.92 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.4496, allocations: 63.91 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.4498, allocations: 79.86 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001624/0.4514, allocations: 0.678 MB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001443/0.4528, allocations: 0.7359 MB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005681/0.4534, allocations: 182.5 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001363/0.4535, allocations: 140.6 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of Backend: time 3e-07/0.4535, allocations: 4 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009194/0.4544, allocations: 260.4 kB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of SimCode: time 0.001097/0.4555, allocations: 0.8145 MB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of Templates: time 0.01184/0.4674, allocations: 6.32 MB / 1.345 GB, free: 14.08 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Stage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.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.825061219002237]