Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.0011, allocations: 170.4 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 0.5783 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007486/0.0007486, allocations: 88.47 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003581, allocations: 8.969 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001489/0.2302, allocations: 1.176 MB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004752/0.2307, allocations: 216.3 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.2308, allocations: 0 / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.2308, allocations: 7.922 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.2309, allocations: 7.938 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.2311, allocations: 15.98 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.466e-05/0.2312, allocations: 59.78 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2313, allocations: 11.97 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.005e-05/0.2314, allocations: 15.94 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.2315, allocations: 23.91 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.2315, allocations: 0 / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.2315, allocations: 4 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.2315, allocations: 11.88 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.2316, allocations: 37.7 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.011e-05/0.2317, allocations: 43.89 kB / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2317, allocations: 0 / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.697e-06/0.2317, allocations: 4 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2317, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005502/0.2323, allocations: 379.4 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2323, allocations: 8.031 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.2323, allocations: 11.84 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2325, allocations: 174.9 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2325, allocations: 4 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.2325, allocations: 4 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2327, allocations: 69.66 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2327, allocations: 3.984 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2327, allocations: 4 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2327, allocations: 4 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.2329, allocations: 55.89 kB / 0.9031 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.2334, allocations: 312.7 kB / 0.9034 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.2338, allocations: 122.5 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.234, allocations: 36.97 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.234, allocations: 0 / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.2342, allocations: 83.31 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.2342, allocations: 0 / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004192/0.2347, allocations: 145.5 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2347, allocations: 55.36 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.2348, allocations: 122 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2348, allocations: 25.7 kB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.2349, allocations: 96.08 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.2349, allocations: 19.81 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.2349, allocations: 4 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.235, allocations: 318.8 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.2351, allocations: 35.97 kB / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2352, allocations: 59.42 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.2353, allocations: 32.53 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.2353, allocations: 3.938 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002457/0.2356, allocations: 129.4 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2356, allocations: 4 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2356, allocations: 4 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2356, allocations: 0 / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.2357, allocations: 24.02 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2357, allocations: 3.953 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.2358, allocations: 15.98 kB / 0.9047 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.2358, allocations: 4 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.022e-05/0.2359, allocations: 126.5 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.2359, allocations: 11.91 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.236, allocations: 4.375 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.236, allocations: 0 / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.236, allocations: 4 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.236, allocations: 3.953 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.2364, allocations: 370.5 kB / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2364, allocations: 0 / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.2365, allocations: 12.06 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2365, allocations: 3.938 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.2365, allocations: 0 / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2365, allocations: 7.938 kB / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2365, allocations: 400 / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.2368, allocations: 211.4 kB / 0.9054 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.2368, allocations: 85.02 kB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.2368, allocations: 7.984 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2369, allocations: 19.98 kB / 0.9055 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.237, allocations: 11.94 kB / 0.9055 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.237, allocations: 0 / 0.9055 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.237, allocations: 91.27 kB / 0.9056 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.237, allocations: 0 / 0.9056 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002062/0.2373, allocations: 19.94 kB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0001169/0.2374, allocations: 103.2 kB / 0.9058 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.2376, allocations: 75.95 kB / 0.9058 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2376, allocations: 0 / 0.9058 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.2378, allocations: 52.09 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.238, allocations: 14.45 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.2384, allocations: 192.3 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2385, allocations: 0.6926 MB / 0.9067 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.2386, allocations: 15.38 kB / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2386, allocations: 0 / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.002022/0.2406, allocations: 0.9594 MB / 0.9077 GB, free: 56.43 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)