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.001229/0.00123, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.01239/0.01239, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.588/1.588, 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.144/3.144, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 9.312 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3702, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001307/0.3715, allocations: 0.6414 MB / 1.075 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.373, allocations: 1.038 MB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.3731, allocations: 4 kB / 1.076 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.3733, allocations: 11.86 kB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.3734, allocations: 39.7 kB / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.3738, allocations: 107.8 kB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.3742, allocations: 327.3 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.3743, allocations: 33.59 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.3746, allocations: 155.5 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.3749, allocations: 195.4 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.3749, allocations: 16 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.387e-05/0.375, allocations: 20 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3751, allocations: 91.73 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.3753, allocations: 141.1 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.3756, allocations: 311.2 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3756, allocations: 0 / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3756, allocations: 0 / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3757, allocations: 4 kB / 1.077 GB, free: 4.445 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.002181/0.3778, allocations: 0.8207 MB / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3779, allocations: 8.031 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.378, allocations: 32.64 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.3787, allocations: 339.8 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.3788, allocations: 16.38 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3789, allocations: 32.3 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.3797, allocations: 344.2 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3798, allocations: 0 / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.3798, allocations: 4 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3798, allocations: 4 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000683/0.3805, allocations: 211.8 kB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.3823, allocations: 0.7502 MB / 1.08 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007508/0.3831, allocations: 285 kB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/0.3836, allocations: 197.6 kB / 1.08 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.3837, allocations: 4 kB / 1.08 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008289/0.3845, allocations: 349.4 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.3845, allocations: 0 / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001974/0.3865, allocations: 0.6441 MB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/0.3866, allocations: 97.03 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.3869, allocations: 206.9 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.508e-05/0.387, allocations: 49.7 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3871, allocations: 129.1 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.967e-05/0.3872, allocations: 83.02 kB / 1.082 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.3873, allocations: 49.69 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3874, allocations: 342.7 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.3877, allocations: 120.8 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.388, allocations: 173.5 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.3884, allocations: 205.8 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3884, allocations: 0 / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005995/0.389, allocations: 343.4 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.389, allocations: 4 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.389, allocations: 4 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.389, allocations: 4 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.3893, allocations: 51.84 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3893, allocations: 4 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.3897, allocations: 103.7 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.3897, allocations: 12 kB / 1.083 GB, free: 14.21 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.0002025/0.3899, allocations: 174.9 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.39, allocations: 19.72 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.419e-05/0.3901, allocations: 37.52 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3901, allocations: 4 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3901, allocations: 0 / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3901, allocations: 3.938 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.3904, allocations: 309.2 kB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3904, allocations: 7.938 kB / 1.084 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.3905, allocations: 11.98 kB / 1.084 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3905, allocations: 0 / 1.084 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.3906, allocations: 11.98 kB / 1.084 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3906, allocations: 4 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.3906, allocations: 0 / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.3919, allocations: 0.5265 MB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.392, allocations: 100.8 kB / 1.084 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.3921, allocations: 19.98 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/0.3926, allocations: 91.89 kB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.3928, allocations: 75.81 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.3928, allocations: 11.98 kB / 1.084 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001571/0.393, allocations: 148.6 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.393, allocations: 0 / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003346/0.3933, allocations: 60 kB / 1.085 GB, free: 12.51 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.0002634/0.3936, allocations: 143.2 kB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009754/0.3946, allocations: 359.5 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3946, allocations: 0 / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.3952, allocations: 208.1 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.3958, allocations: 67.88 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.3972, allocations: 0.5999 MB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3976, allocations: 0.7446 MB / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.3978, allocations: 42.91 kB / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3979, allocations: 43.39 kB / 1.087 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3979, allocations: 0 / 1.087 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of Templates: time 0.01024/0.4082, allocations: 4.938 MB / 1.091 GB, free: 5.371 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)