Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.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.001309/0.001309, allocations: 80.94 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.001727/0.001727, allocations: 161.1 kB / 24.96 MB, free: 8.719 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.9778/0.9778, allocations: 177.1 MB / 205.4 MB, free: 5.453 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.967/1.967, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.45e-05, allocations: 2.312 kB / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001568/0.001593, allocations: 0.8141 MB / 0.7768 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.002793, allocations: 1.184 MB / 0.7779 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.002841, allocations: 3.938 kB / 0.7779 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.002873, allocations: 4.594 kB / 0.7779 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.131e-05/0.002964, allocations: 8.906 kB / 0.7779 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.00337, allocations: 139.9 kB / 0.7781 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.003521, allocations: 111 kB / 0.7782 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.489e-05/0.003595, allocations: 15.97 kB / 0.7782 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.00371, allocations: 73.69 kB / 0.7783 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.003784, allocations: 35.92 kB / 0.7783 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.003805, allocations: 12 kB / 0.7783 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.598e-05/0.003871, allocations: 16 kB / 0.7783 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.003897, allocations: 19.73 kB / 0.7784 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.003936, allocations: 35.95 kB / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.004077, allocations: 95.75 kB / 0.7785 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004079, allocations: 0 / 0.7785 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00408, allocations: 0 / 0.7785 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.004083, allocations: 0 / 0.7785 GB, free: 2.828 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003679/0.004451, allocations: 302.4 kB / 0.7788 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.004483, allocations: 9.344 kB / 0.7788 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.004519, allocations: 16.86 kB / 0.7788 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.488e-05/0.004603, allocations: 117.7 kB / 0.7789 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.004616, allocations: 8.875 kB / 0.7789 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.00463, allocations: 12.38 kB / 0.7789 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.206e-05/0.004722, allocations: 59.62 kB / 0.779 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.004729, allocations: 0.7812 kB / 0.779 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.004737, allocations: 4.359 kB / 0.779 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.004742, allocations: 1.281 kB / 0.779 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.004766, allocations: 11.94 kB / 0.779 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.005017, allocations: 181.5 kB / 0.7792 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/0.005088, allocations: 38.55 kB / 0.7792 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.005103, allocations: 9.672 kB / 0.7792 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.005112, allocations: 1.406 kB / 0.7792 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.403e-05/0.005196, allocations: 79.5 kB / 0.7793 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.814e-06/0.005198, allocations: 0 / 0.7793 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001198/0.005318, allocations: 73.59 kB / 0.7794 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.005345, allocations: 51.94 kB / 0.7794 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.005409, allocations: 131.6 kB / 0.7795 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.005425, allocations: 25.7 kB / 0.7796 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.005461, allocations: 92.11 kB / 0.7797 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.005477, allocations: 17.62 kB / 0.7797 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.005521, allocations: 33.69 kB / 0.7797 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.005595, allocations: 326.8 kB / 0.78 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.691e-05/0.005642, allocations: 49.69 kB / 0.7801 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.005701, allocations: 93.36 kB / 0.7802 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.005778, allocations: 103.8 kB / 0.7802 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00578, allocations: 0.75 kB / 0.7802 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001423/0.005923, allocations: 173.9 kB / 0.7804 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.005954, allocations: 33.7 kB / 0.7804 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.005963, allocations: 9.125 kB / 0.7805 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.005976, allocations: 3.938 kB / 0.7805 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.006037, allocations: 11.98 kB / 0.7805 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.006041, allocations: 4.812 kB / 0.7805 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.006121, allocations: 29.22 kB / 0.7805 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.006134, allocations: 7.984 kB / 0.7805 GB, free: 0.5312 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 6.657e-05/0.0062, allocations: 125.8 kB / 0.7806 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.006211, allocations: 8 kB / 0.7806 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.006236, allocations: 12.36 kB / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.006238, allocations: 1.062 kB / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.00624, allocations: 0 / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006243, allocations: 4 kB / 0.7807 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.006414, allocations: 223.3 kB / 0.7809 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006415, allocations: 1.375 kB / 0.7809 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.006441, allocations: 4 kB / 0.7809 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006444, allocations: 3.938 kB / 0.7809 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.006448, allocations: 0 / 0.7809 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006449, allocations: 0.625 kB / 0.7809 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.00645, allocations: 4.781 kB / 0.7809 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.64e-05/0.006536, allocations: 151.5 kB / 0.781 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-06/0.006546, allocations: 8.562 kB / 0.781 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.00656, allocations: 11.92 kB / 0.781 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.128e-05/0.006592, allocations: 5.062 kB / 0.7811 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.006621, allocations: 11.98 kB / 0.7811 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.006625, allocations: 0 / 0.7811 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.53e-05/0.00664, allocations: 17.97 kB / 0.7811 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00664, allocations: 0 / 0.7811 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001651/0.006805, allocations: 28 kB / 0.7811 GB, free: 15.88 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001053/0.00691, allocations: 81.77 kB / 0.7812 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.007065, allocations: 159.2 kB / 0.7813 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.007068, allocations: 0 / 0.7813 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-05/0.007097, allocations: 20.84 kB / 0.7814 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.007242, allocations: 21.31 kB / 0.7814 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.007478, allocations: 162.5 kB / 0.7815 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.284e-05/0.007511, allocations: 59.34 kB / 0.7816 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.452e-05/0.007536, allocations: 8.484 kB / 0.7816 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.007611, allocations: 71.34 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.007612, allocations: 0.5312 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.003222/0.01083, allocations: 1.682 MB / 0.7833 GB, free: 13.65 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.093985387124121]