Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0019/0.0019, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.002079/0.002079, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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.617/1.617, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.333/3.333, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.853e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002453/0.002481, allocations: 0.8855 MB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.004247, allocations: 1.065 MB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.004348, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.004464, allocations: 15.8 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.004637, allocations: 59.56 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.005118, allocations: 135.7 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.005559, allocations: 355.2 kB / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005673, allocations: 17.8 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004748/0.006148, allocations: 231.5 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.00653, allocations: 191.6 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.606e-05/0.006626, allocations: 40 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.006733, allocations: 32 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.006925, allocations: 111.7 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.007084, allocations: 95.78 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005501/0.007634, allocations: 379 kB / 1.005 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007638, allocations: 4 kB / 1.005 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.51e-07/0.007638, allocations: 0 / 1.005 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.007645, allocations: 0 / 1.005 GB, free: 9.41 MB / 0.9636 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.002123/0.009768, allocations: 0.7042 MB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.009816, allocations: 9.344 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.01003, allocations: 36.78 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007902/0.01082, allocations: 281.2 kB / 1.006 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.01086, allocations: 16.38 kB / 1.006 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.01092, allocations: 28.36 kB / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009024/0.01182, allocations: 343.3 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01183, allocations: 0 / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.01187, allocations: 7.984 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.01188, allocations: 7.938 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.01259, allocations: 211.8 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.01433, allocations: 0.5937 MB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.01507, allocations: 241 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.01563, allocations: 173.6 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.01566, allocations: 11.88 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008311/0.01649, allocations: 346.2 kB / 1.008 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.01649, allocations: 0 / 1.008 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30): time 0.001966/0.01846, allocations: 0.6333 MB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.01855, allocations: 93.09 kB / 1.008 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.0188, allocations: 211 kB / 1.008 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/0.01887, allocations: 49.69 kB / 1.008 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.01898, allocations: 133.1 kB / 1.009 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.01908, allocations: 87.41 kB / 1.009 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/0.01942, allocations: 74.19 kB / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.01962, allocations: 346.7 kB / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.01991, allocations: 113 kB / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.02023, allocations: 174 kB / 1.009 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.02065, allocations: 203.5 kB / 1.01 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02065, allocations: 0 / 1.01 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006714/0.02133, allocations: 339.7 kB / 1.01 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.02134, allocations: 4 kB / 1.01 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.02135, allocations: 7.984 kB / 1.01 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.02137, allocations: 4.125 kB / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.02157, allocations: 51.84 kB / 1.01 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.02159, allocations: 4 kB / 1.01 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.02197, allocations: 75.7 kB / 1.01 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.022, allocations: 12 kB / 1.01 GB, free: 3.625 MB / 0.9636 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.0002056/0.0222, allocations: 174.9 kB / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.02226, allocations: 23.86 kB / 1.01 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.02233, allocations: 33.45 kB / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.02233, allocations: 4 kB / 1.01 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.02234, allocations: 0 / 1.01 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.02235, allocations: 4 kB / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.02262, allocations: 209 kB / 1.01 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.02262, allocations: 0 / 1.01 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.122e-05/0.0227, allocations: 11.94 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.0227, allocations: 0 / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.02274, allocations: 19.97 kB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.02275, allocations: 4 kB / 1.011 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.02275, allocations: 3.938 kB / 1.011 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.02409, allocations: 0.5093 MB / 1.011 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.02413, allocations: 27.73 kB / 1.011 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.0242, allocations: 19.98 kB / 1.011 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.02468, allocations: 67.91 kB / 1.011 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.02486, allocations: 79.86 kB / 1.011 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.0249, allocations: 19.97 kB / 1.011 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001464/0.02505, allocations: 148.4 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.02505, allocations: 0 / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003053/0.02535, allocations: 60 kB / 1.011 GB, free: 2.16 MB / 0.9636 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.0001971/0.02555, allocations: 131.2 kB / 1.012 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0009443/0.0265, allocations: 339.6 kB / 1.012 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0265, allocations: 0 / 1.012 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.02711, allocations: 200 kB / 1.012 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.0276, allocations: 67.88 kB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.02897, allocations: 0.5352 MB / 1.013 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.02911, allocations: 136.8 kB / 1.013 GB, free: 0.7188 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.02928, allocations: 46.95 kB / 1.013 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.02941, allocations: 40.47 kB / 1.013 GB, free: 0.6328 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.02941, allocations: 3.938 kB / 1.013 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of Templates: time 0.01428/0.04369, allocations: 6.18 MB / 1.019 GB, free: 10.57 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.385888499207795]