Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.679/2.679, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001606/0.001606, allocations: 179.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.001024/0.001024, allocations: 93.78 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005018, allocations: 13.28 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2358, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001005/0.2369, allocations: 474.3 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.2386, allocations: 1.134 MB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.2387, allocations: 0 / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.2387, allocations: 0 / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.997e-05/0.2388, allocations: 11.91 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.2395, allocations: 126.8 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.2396, allocations: 91.81 kB / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2397, allocations: 19.92 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.096e-05/0.2398, allocations: 39.91 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.2399, allocations: 31.89 kB / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.24, allocations: 8 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.543e-05/0.2401, allocations: 19.98 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.2401, allocations: 11.92 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.2401, allocations: 37.7 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.2403, allocations: 75.83 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2403, allocations: 0 / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2403, allocations: 0 / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2403, allocations: 0 / 0.9804 GB, free: 26.25 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.0005811/0.2409, allocations: 401.1 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.241, allocations: 16.02 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.2411, allocations: 4 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.566e-05/0.2412, allocations: 178.9 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.2412, allocations: 7.938 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.2412, allocations: 8 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.2415, allocations: 65.66 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2415, allocations: 0 / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2416, allocations: 4 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2416, allocations: 4 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.2419, allocations: 55.89 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.2424, allocations: 336.6 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.2427, allocations: 58.61 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.2429, allocations: 44.95 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2429, allocations: 4 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.2432, allocations: 91.42 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.607e-06/0.2433, allocations: 0 / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0006548/0.2439, allocations: 161.5 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.244, allocations: 51.41 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.2441, allocations: 129.7 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.2441, allocations: 29.7 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.2442, allocations: 88.14 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.2442, allocations: 19.8 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.2443, allocations: 11.94 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.2443, allocations: 314.8 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.2446, allocations: 59.95 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.2449, allocations: 92.25 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.2451, allocations: 89.62 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2451, allocations: 0 / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006528/0.2458, allocations: 211.2 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.2459, allocations: 39.38 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2459, allocations: 11.94 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2459, allocations: 0 / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.2461, allocations: 15.98 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2461, allocations: 64 / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.2465, allocations: 63.84 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.2465, allocations: 8 kB / 0.9829 GB, free: 23.37 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 0.0001079/0.2466, allocations: 121.8 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.2467, allocations: 3.906 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.2467, allocations: 16.36 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2467, allocations: 3.938 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2468, allocations: 0 / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2468, allocations: 4 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006454/0.2474, allocations: 386.5 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.2474, allocations: 0 / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.412e-05/0.2475, allocations: 15.94 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.2476, allocations: 0 / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.2476, allocations: 4 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.2476, allocations: 7.984 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2476, allocations: 3.953 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.248, allocations: 211.8 kB / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.2481, allocations: 85.02 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.2481, allocations: 4 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2483, allocations: 11.98 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.2483, allocations: 4 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2484, allocations: 7.938 kB / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.2484, allocations: 91.28 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2484, allocations: 0 / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003563/0.2488, allocations: 24 kB / 0.9839 GB, free: 22.29 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.0001672/0.249, allocations: 107.2 kB / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000582/0.2496, allocations: 199.3 kB / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2496, allocations: 0 / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.2498, allocations: 43.97 kB / 0.9842 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.2502, allocations: 15.05 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.2506, allocations: 183.5 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2508, allocations: 0.6887 MB / 0.9851 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.521e-05/0.2509, allocations: 4 kB / 0.9851 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.2509, allocations: 15.38 kB / 0.9851 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of SimCode: time 1.233e-06/0.2509, allocations: 4 kB / 0.9851 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.004912/0.2559, allocations: 1.273 MB / 0.9864 GB, free: 19.7 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)