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.828/2.828, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001598/0.001598, allocations: 195.4 kB / 370.8 MB, free: 10.84 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.275/2.275, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001164/0.001164, allocations: 82.03 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004775, allocations: 21.97 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2325, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001019/0.2335, allocations: 482.3 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2351, allocations: 1.103 MB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.2351, allocations: 3.938 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.2352, allocations: 0 / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.2353, allocations: 15.92 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.2358, allocations: 118.5 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.236, allocations: 67.86 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.393e-05/0.2361, allocations: 7.984 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.58e-05/0.2362, allocations: 39.91 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.2363, allocations: 31.89 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.2363, allocations: 8 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-05/0.2364, allocations: 15.98 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.2364, allocations: 11.98 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.2365, allocations: 37.64 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2366, allocations: 75.81 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2366, allocations: 4 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2366, allocations: 0 / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2367, allocations: 0 / 0.9802 GB, free: 26.34 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.0005717/0.2372, allocations: 401.1 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2373, allocations: 12.02 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.2373, allocations: 4 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.298e-05/0.2374, allocations: 174.9 kB / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2375, allocations: 8 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.2375, allocations: 12 kB / 0.9807 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.2378, allocations: 65.59 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2378, allocations: 0 / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2378, allocations: 7.938 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2378, allocations: 8 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.2381, allocations: 51.95 kB / 0.9809 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.2387, allocations: 332.7 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.2389, allocations: 74.53 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.239, allocations: 0 / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002943/0.2393, allocations: 91.48 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/0.2393, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0006365/0.2399, allocations: 161.5 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.24, allocations: 59.41 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.2401, allocations: 121.7 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.2401, allocations: 37.69 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.2402, allocations: 88.14 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.2402, allocations: 15.81 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/0.2402, allocations: 0 / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.2403, allocations: 322.8 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.2406, allocations: 59.97 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.2408, allocations: 89.62 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.2411, allocations: 89.61 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2411, allocations: 0 / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006705/0.2418, allocations: 227.2 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.2419, allocations: 41.69 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2419, allocations: 0 / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2419, allocations: 4 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2421, allocations: 15.92 kB / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2421, allocations: 4 kB / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.2425, allocations: 50.33 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.2425, allocations: 11.94 kB / 0.9827 GB, free: 23.5 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.000108/0.2427, allocations: 121.8 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.2427, allocations: 7.906 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.2427, allocations: 16.31 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2428, allocations: 4 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2428, allocations: 3.984 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2428, allocations: 0 / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.2434, allocations: 382.4 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2434, allocations: 0 / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.141e-05/0.2435, allocations: 15.98 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2435, allocations: 0 / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2436, allocations: 0 / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2436, allocations: 0 / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2436, allocations: 0 / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.244, allocations: 227.3 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.244, allocations: 85 kB / 0.9835 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.2441, allocations: 4 kB / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.2442, allocations: 4 kB / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.2443, allocations: 15.98 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.2443, allocations: 4 kB / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.259e-05/0.2444, allocations: 99.7 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2444, allocations: 0 / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003625/0.2448, allocations: 20 kB / 0.9836 GB, free: 22.41 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.0001682/0.2449, allocations: 107.2 kB / 0.9837 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005864/0.2455, allocations: 195.3 kB / 0.9839 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2456, allocations: 0 / 0.9839 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.2458, allocations: 43.92 kB / 0.984 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.246, allocations: 16.23 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.2465, allocations: 179.2 kB / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.2466, allocations: 0.6887 MB / 0.9848 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.574e-05/0.2467, allocations: 11.94 kB / 0.9848 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.2467, allocations: 11.44 kB / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.2467, allocations: 0 / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.004648/0.2514, allocations: 1.277 MB / 0.9861 GB, free: 19.84 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)