Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007363/0.007364, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.138/3.138, allocations: 473.4 MB / 0.7469 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004193, allocations: 16.22 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4192, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001497/0.4207, allocations: 0.6415 MB / 1.075 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.4225, allocations: 1.042 MB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.4227, allocations: 0 / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.4228, allocations: 15.86 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.4231, allocations: 39.7 kB / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.4236, allocations: 103.8 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.424, allocations: 331.3 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.4242, allocations: 29.66 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.4245, allocations: 147.5 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.4249, allocations: 191.4 kB / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-05/0.425, allocations: 20 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.617e-05/0.4251, allocations: 20 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.4253, allocations: 95.72 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.4254, allocations: 145.1 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.4258, allocations: 307.2 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4258, allocations: 3.938 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4258, allocations: 0 / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.4258, allocations: 0 / 1.077 GB, free: 4.371 MB / 0.8262 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.002401/0.4283, allocations: 0.815 MB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4283, allocations: 16.03 kB / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.4284, allocations: 28.64 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008245/0.4293, allocations: 343.8 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.4293, allocations: 20.31 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.4294, allocations: 32.36 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009057/0.4303, allocations: 336.2 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4304, allocations: 0 / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.4304, allocations: 12 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.4304, allocations: 4 kB / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.4311, allocations: 215.8 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.433, allocations: 0.7424 MB / 1.08 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.4338, allocations: 285 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.4344, allocations: 197.6 kB / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.4344, allocations: 4 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008313/0.4352, allocations: 357.4 kB / 1.08 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.4353, allocations: 0 / 1.08 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001975/0.4372, allocations: 0.6315 MB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.4373, allocations: 105 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.4376, allocations: 206.9 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.059e-05/0.4377, allocations: 53.7 kB / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.4378, allocations: 125.1 kB / 1.082 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.4379, allocations: 83.02 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.4381, allocations: 53.69 kB / 1.082 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4382, allocations: 346.7 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.4385, allocations: 108.8 kB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.4388, allocations: 181.5 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.4392, allocations: 205.8 kB / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.4392, allocations: 0 / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000673/0.4399, allocations: 335.6 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.44, allocations: 8 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.44, allocations: 0 / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.44, allocations: 4 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.4402, allocations: 51.84 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4403, allocations: 0 / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.4407, allocations: 107.5 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.4408, allocations: 12 kB / 1.083 GB, free: 14.13 MB / 0.8419 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.0002059/0.441, allocations: 170.9 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.441, allocations: 23.72 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.942e-05/0.4411, allocations: 33.52 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4412, allocations: 4 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4412, allocations: 0 / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.4412, allocations: 7.938 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.4415, allocations: 301.3 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.4415, allocations: 7.875 kB / 1.083 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.129e-05/0.4416, allocations: 15.98 kB / 1.084 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4416, allocations: 8 kB / 1.084 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.4417, allocations: 11.98 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4417, allocations: 0 / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4417, allocations: 0 / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.4431, allocations: 0.5208 MB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.4431, allocations: 96.77 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.4432, allocations: 19.98 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/0.4438, allocations: 95.89 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.4439, allocations: 79.81 kB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.444, allocations: 15.98 kB / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001612/0.4442, allocations: 144.6 kB / 1.084 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4442, allocations: 0 / 1.084 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003246/0.4445, allocations: 56 kB / 1.085 GB, free: 12.44 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$whenCondition3,sta.y,sta.tNext,sta.upperThreshold,sta.lowerThreshold,sta.checkUpper,sta.checkLower,zerHolTim.y,zerHolTim.tNext,zerHolTim.upperThreshold,zerHolTim.lowerThreshold,zerHolTim.checkUpper,zerHolTim.checkLower,$whenCondition2,$whenCondition1,sta1.y,sta1.tNext,sta1.upperThreshold,sta1.lowerThreshold,sta1.checkUpper,sta1.checkLower,lesHolTim.y,lesHolTim.tNext,lesHolTim.upperThreshold,lesHolTim.lowerThreshold,lesHolTim.checkUpper,lesHolTim.checkLower) * Number of discrete states: 20 (sta1.lowerThreshold,lesHolTim.lowerThreshold,lesHolTim.checkLower,lesHolTim.checkUpper,lesHolTim.upperThreshold,sta1.checkLower,sta1.checkUpper,sta1.upperThreshold,sta1.tNext,lesHolTim.tNext,sta.lowerThreshold,zerHolTim.lowerThreshold,zerHolTim.checkLower,zerHolTim.checkUpper,zerHolTim.upperThreshold,sta.checkLower,sta.checkUpper,sta.upperThreshold,sta.tNext,zerHolTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0002261/0.4447, allocations: 143.2 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000953/0.4457, allocations: 361.7 kB / 1.085 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4457, allocations: 0 / 1.085 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006463/0.4464, allocations: 215.7 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.4469, allocations: 68 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.4483, allocations: 0.5996 MB / 1.086 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.4487, allocations: 0.7368 MB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.4489, allocations: 46.91 kB / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.449, allocations: 39.39 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.4491, allocations: 4 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.01036/0.4594, allocations: 4.941 MB / 1.091 GB, free: 5.293 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1)