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.001506/0.001506, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001082/0.001082, allocations: 171.2 kB / 25.18 MB, free: 8.828 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 0.8956/0.8956, allocations: 177.2 MB / 205.6 MB, free: 4.371 MB / 186.7 MB " [Timeout remaining time 179] 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 1.963/1.963, allocations: 389.6 MB / 0.6364 GB, free: 13.24 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.725e-06/2.725e-06, allocations: 0 / 0.7756 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.747e-05, allocations: 6.25 kB / 0.7756 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002652/0.00268, allocations: 0.9393 MB / 0.7765 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.004082, allocations: 1.112 MB / 0.7776 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.486e-05/0.004167, allocations: 4 kB / 0.7776 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.004294, allocations: 19.75 kB / 0.7776 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.004427, allocations: 47.56 kB / 0.7777 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.004789, allocations: 139.7 kB / 0.7778 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.005071, allocations: 351.2 kB / 0.7781 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.005169, allocations: 22.44 kB / 0.7781 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.00561, allocations: 307.5 kB / 0.7784 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.005826, allocations: 183.6 kB / 0.7786 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.00587, allocations: 28 kB / 0.7786 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.251e-05/0.005953, allocations: 35.92 kB / 0.7787 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.006039, allocations: 99.75 kB / 0.7788 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.006113, allocations: 83.8 kB / 0.7789 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.006359, allocations: 243.1 kB / 0.7791 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.006363, allocations: 0 / 0.7791 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.734e-06/0.006365, allocations: 0 / 0.7791 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.006369, allocations: 4 kB / 0.7791 GB, free: 10.89 MB / 0.7448 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.0007691/0.007138, allocations: 0.531 MB / 0.7796 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.007174, allocations: 8.031 kB / 0.7796 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.007327, allocations: 36.89 kB / 0.7796 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.007564, allocations: 209.3 kB / 0.7798 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.007588, allocations: 12.38 kB / 0.7799 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.007619, allocations: 28.38 kB / 0.7799 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.007975, allocations: 248.3 kB / 0.7801 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.007985, allocations: 3.938 kB / 0.7801 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.008004, allocations: 8 kB / 0.7801 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.008012, allocations: 7.984 kB / 0.7801 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.008136, allocations: 71.81 kB / 0.7802 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.008755, allocations: 424.1 kB / 0.7806 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.00896, allocations: 129 kB / 0.7807 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.009035, allocations: 65.62 kB / 0.7808 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.009053, allocations: 8.5 kB / 0.7808 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.009284, allocations: 236.6 kB / 0.781 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.009285, allocations: 0 / 0.781 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.000294/0.009579, allocations: 205.1 kB / 0.7812 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.009634, allocations: 97.09 kB / 0.7813 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.009741, allocations: 194.3 kB / 0.7815 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.009779, allocations: 61.69 kB / 0.7816 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.009823, allocations: 105.1 kB / 0.7817 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.009879, allocations: 83.38 kB / 0.7817 GB, free: 8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.009955, allocations: 90.12 kB / 0.7818 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.01004, allocations: 334.8 kB / 0.7822 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.0101, allocations: 48.92 kB / 0.7822 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.484e-05/0.01018, allocations: 118.1 kB / 0.7823 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.01031, allocations: 144.8 kB / 0.7824 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01031, allocations: 0 / 0.7824 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001955/0.01051, allocations: 209.3 kB / 0.7826 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.01052, allocations: 4 kB / 0.7827 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01053, allocations: 4 kB / 0.7827 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.01054, allocations: 0 / 0.7827 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.01069, allocations: 75.84 kB / 0.7827 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.01069, allocations: 4 kB / 0.7827 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.01081, allocations: 71.8 kB / 0.7828 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.01083, allocations: 12 kB / 0.7828 GB, free: 6.848 MB / 0.7448 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.0001074/0.01093, allocations: 153.8 kB / 0.783 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.01097, allocations: 35.84 kB / 0.783 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.01101, allocations: 25.47 kB / 0.783 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01101, allocations: 8 kB / 0.783 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01101, allocations: 0 / 0.783 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01102, allocations: 3.984 kB / 0.783 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.01114, allocations: 133.7 kB / 0.7832 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01114, allocations: 0 / 0.7832 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.01117, allocations: 11.98 kB / 0.7832 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.01118, allocations: 7.938 kB / 0.7832 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.0112, allocations: 11.97 kB / 0.7832 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.0112, allocations: 4 kB / 0.7832 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0112, allocations: 0 / 0.7832 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.0114, allocations: 189.8 kB / 0.7834 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.01142, allocations: 23.8 kB / 0.7834 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.01147, allocations: 23.92 kB / 0.7834 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.0116, allocations: 55.94 kB / 0.7835 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.01171, allocations: 79.84 kB / 0.7835 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.01174, allocations: 19.97 kB / 0.7836 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.01178, allocations: 57.95 kB / 0.7836 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01178, allocations: 0 / 0.7836 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001794/0.01196, allocations: 60 kB / 0.7837 GB, free: 5.914 MB / 0.7448 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.0001223/0.01208, allocations: 116.3 kB / 0.7838 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.01231, allocations: 177.7 kB / 0.784 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.01231, allocations: 4 kB / 0.784 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.01242, allocations: 87.92 kB / 0.784 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.01265, allocations: 107.8 kB / 0.7841 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.01331, allocations: 435.3 kB / 0.7846 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.607e-05/0.0134, allocations: 136.9 kB / 0.7847 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.01358, allocations: 127.3 kB / 0.7848 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.01359, allocations: 0 / 0.7848 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of Templates: time 0.004612/0.0182, allocations: 4.186 MB / 0.7889 GB, free: 0.4961 MB / 0.7448 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 > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.724845128133893]