Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001312/0.001312, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001285/0.001285, allocations: 194.5 kB / 16.14 MB, free: 6.695 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.568/1.568, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.198/3.198, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 70.89 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.003049/0.4031, allocations: 0.9803 MB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.405, allocations: 1.053 MB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.4052, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.4054, allocations: 7.875 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.4056, allocations: 39.7 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.4061, allocations: 107.8 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.4065, allocations: 323.3 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.4067, allocations: 29.66 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.407, allocations: 159.5 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.4074, allocations: 195.4 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-05/0.4075, allocations: 20 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.4076, allocations: 20 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.4077, allocations: 87.75 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.4079, allocations: 123.4 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.4083, allocations: 315.2 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4083, allocations: 0 / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4083, allocations: 0 / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.4083, allocations: 3.938 kB / 1.071 GB, free: 7.465 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.002329/0.4107, allocations: 0.7718 MB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4107, allocations: 8.031 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.4108, allocations: 32.64 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/0.4116, allocations: 335.9 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.4117, allocations: 16.31 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.4118, allocations: 28.36 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.4127, allocations: 336.3 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4127, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.4128, allocations: 11.98 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4128, allocations: 4 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007142/0.4135, allocations: 211.8 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.4153, allocations: 0.711 MB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.416, allocations: 281 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.4165, allocations: 193.6 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.4166, allocations: 4 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007622/0.4173, allocations: 349.5 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 6.372e-06/0.4174, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.00184/0.4192, allocations: 0.6393 MB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.4193, allocations: 101 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.4195, allocations: 206.9 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.4196, allocations: 49.69 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.4197, allocations: 133 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.845e-05/0.4198, allocations: 71.19 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.4199, allocations: 78.12 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4201, allocations: 350.7 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.4204, allocations: 112.8 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.4207, allocations: 169.5 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.4211, allocations: 203.3 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4211, allocations: 0 / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000654/0.4218, allocations: 331 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4218, allocations: 13.22 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4218, allocations: 0 / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4218, allocations: 4 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.4221, allocations: 47.84 kB / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.4221, allocations: 0 / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.4225, allocations: 87.55 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.4225, allocations: 16 kB / 1.077 GB, free: 1.344 MB / 0.8262 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.0001917/0.4227, allocations: 174.9 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.4228, allocations: 23.72 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.4228, allocations: 37.52 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4228, allocations: 0 / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4229, allocations: 4 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4229, allocations: 3.938 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.4232, allocations: 305.2 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4232, allocations: 8 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.4233, allocations: 7.984 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4233, allocations: 4 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.4233, allocations: 11.98 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4233, allocations: 0 / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4233, allocations: 0 / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.4246, allocations: 0.5208 MB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.4247, allocations: 100.8 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.4248, allocations: 20 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.4252, allocations: 67.95 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.4254, allocations: 75.75 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.4255, allocations: 15.98 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001309/0.4256, allocations: 152.6 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4256, allocations: 3.938 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003156/0.4259, allocations: 60 kB / 1.078 GB, free: 15.66 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.0002247/0.4262, allocations: 133 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009151/0.4271, allocations: 370.5 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4271, allocations: 0 / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.4277, allocations: 204.1 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.4282, allocations: 59.94 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.4295, allocations: 0.5995 MB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.4299, allocations: 0.7446 MB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.4301, allocations: 38.97 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.4302, allocations: 39.39 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.4302, allocations: 0 / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.01046/0.4407, allocations: 4.978 MB / 1.085 GB, free: 8.508 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1)