Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.803/1.803, allocations: 288.3 MB / 303.2 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 187.3 kB / 371.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.6306 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008799/0.0008801, allocations: 95.33 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 12.91 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2191, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0008967/0.2201, allocations: 482.5 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2212, allocations: 1.107 MB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.2213, allocations: 3.938 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.2213, allocations: 3.938 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.2214, allocations: 7.984 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.2218, allocations: 114.9 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.236e-05/0.2219, allocations: 63.86 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.222, allocations: 19.98 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.2221, allocations: 39.91 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.2222, allocations: 27.89 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.2222, allocations: 4 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-05/0.2223, allocations: 23.97 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.2223, allocations: 11.98 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.2223, allocations: 37.64 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.2225, allocations: 71.81 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2225, allocations: 0 / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2225, allocations: 4 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2225, allocations: 0 / 0.9814 GB, free: 25.65 MB / 0.6198 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.0004834/0.223, allocations: 401.1 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.223, allocations: 16.02 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.2231, allocations: 4 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.462e-05/0.2232, allocations: 170.9 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.2232, allocations: 15.94 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2232, allocations: 8 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.2234, allocations: 77.58 kB / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2234, allocations: 0 / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.2235, allocations: 0 / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2235, allocations: 0 / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.2237, allocations: 55.95 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.2241, allocations: 332.7 kB / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.2242, allocations: 74.55 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.2243, allocations: 0 / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.2245, allocations: 91.47 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.2245, allocations: 4 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000413/0.2249, allocations: 153.5 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.2249, allocations: 67.34 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.225, allocations: 117.8 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.225, allocations: 29.7 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.2251, allocations: 92.12 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.2251, allocations: 15.88 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.2251, allocations: 4 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.2252, allocations: 322.8 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.2253, allocations: 63.97 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.2255, allocations: 89.12 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2256, allocations: 89.67 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2257, allocations: 3.938 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003703/0.226, allocations: 215.2 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.2261, allocations: 41.69 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2261, allocations: 0 / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2261, allocations: 0 / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.2262, allocations: 15.94 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.2262, allocations: 3.984 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.2264, allocations: 51.88 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.2265, allocations: 15.98 kB / 0.9839 GB, free: 22.8 MB / 0.6198 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.2265, allocations: 123.5 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.2266, allocations: 7.906 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.2266, allocations: 12.38 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2266, allocations: 0 / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2266, allocations: 0 / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2266, allocations: 7.984 kB / 0.984 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.227, allocations: 382.4 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.227, allocations: 0 / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.227, allocations: 11.98 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2271, allocations: 0 / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2271, allocations: 4 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2271, allocations: 0 / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2271, allocations: 0 / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.2273, allocations: 231.3 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.2274, allocations: 81.02 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.2274, allocations: 3.984 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.2275, allocations: 12 kB / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.2275, allocations: 12.05 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2275, allocations: 4 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.993e-05/0.2276, allocations: 91.27 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2276, allocations: 0 / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002538/0.2278, allocations: 28 kB / 0.9849 GB, free: 21.72 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001427/0.228, allocations: 107.2 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.2283, allocations: 191.2 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2283, allocations: 0 / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2284, allocations: 43.92 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.2286, allocations: 17.11 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.229, allocations: 179.8 kB / 0.9854 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.2291, allocations: 0.6887 MB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.2291, allocations: 11.78 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.2291, allocations: 11.44 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2291, allocations: 0 / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.003284/0.2324, allocations: 1.283 MB / 0.9873 GB, free: 19.14 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)