Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.001255/0.001255, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.001407/0.001407, allocations: 165.5 kB / 24.96 MB, free: 8.711 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.9198/0.9198, allocations: 177.1 MB / 205.4 MB, free: 4.492 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.935/1.935, allocations: 389.6 MB / 0.6361 GB, free: 13.39 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 0.776 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.692e-05, allocations: 2.312 kB / 0.776 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002317/0.002334, allocations: 2.003 MB / 0.778 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.003773, allocations: 1.25 MB / 0.7792 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.003857, allocations: 7.938 kB / 0.7792 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.004084, allocations: 103.5 kB / 0.7793 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.004294, allocations: 131.3 kB / 0.7794 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.004474, allocations: 131.4 kB / 0.7795 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.004663, allocations: 227.4 kB / 0.7798 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.589e-05/0.004749, allocations: 38.41 kB / 0.7798 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.00515, allocations: 170.2 kB / 0.78 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.573e-05/0.005246, allocations: 87.77 kB / 0.78 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.005265, allocations: 12 kB / 0.7801 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-05/0.005359, allocations: 59.91 kB / 0.7801 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.005413, allocations: 67.75 kB / 0.7802 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.005457, allocations: 59.77 kB / 0.7802 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.005669, allocations: 195.2 kB / 0.7804 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.142e-06/0.00567, allocations: 0 / 0.7804 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.9e-07/0.00567, allocations: 0 / 0.7804 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.005673, allocations: 0 / 0.7804 GB, free: 9.398 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003639/0.006037, allocations: 443.5 kB / 0.7808 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 1.936e-05/0.006056, allocations: 8.031 kB / 0.7808 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.006089, allocations: 28.91 kB / 0.7809 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.006255, allocations: 208.8 kB / 0.7811 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.006267, allocations: 8.125 kB / 0.7811 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.006279, allocations: 12 kB / 0.7811 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.006402, allocations: 101.1 kB / 0.7812 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.98e-06/0.006407, allocations: 0 / 0.7812 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.006415, allocations: 4 kB / 0.7812 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.00642, allocations: 4 kB / 0.7812 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.006465, allocations: 31.86 kB / 0.7812 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.006746, allocations: 249.8 kB / 0.7815 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.006856, allocations: 128 kB / 0.7816 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.006883, allocations: 24.84 kB / 0.7816 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.006893, allocations: 0 / 0.7816 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.732e-05/0.00698, allocations: 90.16 kB / 0.7817 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 8.41e-07/0.006981, allocations: 4 kB / 0.7817 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0001275/0.007109, allocations: 120.9 kB / 0.7818 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.007133, allocations: 55.41 kB / 0.7819 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.007275, allocations: 251.8 kB / 0.7821 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.00729, allocations: 33.7 kB / 0.7821 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.007335, allocations: 120.9 kB / 0.7823 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.007362, allocations: 43.66 kB / 0.7823 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.007418, allocations: 61.62 kB / 0.7824 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.007499, allocations: 346.7 kB / 0.7827 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.007531, allocations: 22.81 kB / 0.7827 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.007584, allocations: 73.11 kB / 0.7828 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.00781, allocations: 118.5 kB / 0.7829 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007812, allocations: 0 / 0.7829 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001259/0.007938, allocations: 140.3 kB / 0.783 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.007946, allocations: 4 kB / 0.783 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.007949, allocations: 4 kB / 0.783 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.007955, allocations: 4.156 kB / 0.783 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.008058, allocations: 51.91 kB / 0.7831 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.008062, allocations: 4 kB / 0.7831 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.008114, allocations: 19.94 kB / 0.7831 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.008127, allocations: 4 kB / 0.7831 GB, free: 6.426 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: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 7.008e-05/0.008197, allocations: 132.5 kB / 0.7832 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.008214, allocations: 15.98 kB / 0.7833 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.008326, allocations: 107.7 kB / 0.7834 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.008329, allocations: 8 kB / 0.7834 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.00833, allocations: 0 / 0.7834 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008333, allocations: 0 / 0.7834 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.008924, allocations: 366.3 kB / 0.7837 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.008926, allocations: 0 / 0.7837 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.008966, allocations: 19.94 kB / 0.7837 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.008967, allocations: 0 / 0.7837 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.008974, allocations: 3.984 kB / 0.7837 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008975, allocations: 0 / 0.7837 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.008977, allocations: 4 kB / 0.7837 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.009088, allocations: 250.5 kB / 0.784 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.009106, allocations: 19.86 kB / 0.784 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.009125, allocations: 8 kB / 0.784 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.009177, allocations: 11.98 kB / 0.784 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.009211, allocations: 15.97 kB / 0.784 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.00922, allocations: 8 kB / 0.784 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.009277, allocations: 86.7 kB / 0.7841 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009277, allocations: 0 / 0.7841 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001674/0.009444, allocations: 51.88 kB / 0.7842 GB, free: 5.285 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001181/0.01063, allocations: 0.5295 MB / 0.7847 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.01075, allocations: 92.73 kB / 0.7848 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.01075, allocations: 4 kB / 0.7848 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.01079, allocations: 40.78 kB / 0.7848 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.01097, allocations: 52.45 kB / 0.7849 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.0114, allocations: 383 kB / 0.7852 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.353e-05/0.01145, allocations: 84.31 kB / 0.7853 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.193e-05/0.0115, allocations: 21.95 kB / 0.7853 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.281e-05/0.01159, allocations: 95.34 kB / 0.7854 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.01159, allocations: 0 / 0.7854 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.0046/0.01619, allocations: 3.514 MB / 0.7889 GB, free: 0.6992 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.83121882379055]