Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007737/0.0007738, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008658/0.0008658, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005031, allocations: 27.03 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2296, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0008462/0.2305, allocations: 482 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2318, allocations: 1.126 MB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.2319, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.2319, allocations: 3.984 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.232, allocations: 11.88 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.2324, allocations: 113.5 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.2326, allocations: 99.73 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.2326, allocations: 8 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.2327, allocations: 43.84 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.2328, allocations: 39.88 kB / 0.7892 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.2328, allocations: 4 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.2329, allocations: 15.98 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.2329, allocations: 19.92 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.233, allocations: 33.7 kB / 0.7892 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.2331, allocations: 75.83 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2331, allocations: 0 / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2331, allocations: 0 / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2331, allocations: 0 / 0.7893 GB, free: 9.844 MB / 0.6075 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.0005038/0.2336, allocations: 401.1 kB / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2336, allocations: 12.03 kB / 0.7897 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.2337, allocations: 11.98 kB / 0.7897 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2338, allocations: 182.8 kB / 0.7899 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.2338, allocations: 0 / 0.7899 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.2339, allocations: 8 kB / 0.7899 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.2341, allocations: 69.66 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.2341, allocations: 0 / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.2341, allocations: 0 / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2341, allocations: 4 kB / 0.79 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.2343, allocations: 51.95 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.2347, allocations: 344.6 kB / 0.7903 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.2349, allocations: 54.62 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-05/0.235, allocations: 48.95 kB / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.235, allocations: 0 / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.2352, allocations: 91.3 kB / 0.7905 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 2.545e-06/0.2353, allocations: 3.984 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003923/0.2356, allocations: 153.5 kB / 0.7907 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.2357, allocations: 55.48 kB / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.2358, allocations: 129.6 kB / 0.7909 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.2358, allocations: 37.7 kB / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.2359, allocations: 92.12 kB / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.2359, allocations: 15.8 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.2359, allocations: 4 kB / 0.791 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.236, allocations: 318.8 kB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2362, allocations: 63.89 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.2364, allocations: 96.25 kB / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.2365, allocations: 85.67 kB / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2365, allocations: 0 / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003959/0.2369, allocations: 211.4 kB / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.237, allocations: 41.81 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.237, allocations: 4 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.237, allocations: 4 kB / 0.7918 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.2371, allocations: 11.98 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2371, allocations: 7.984 kB / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.2373, allocations: 51.89 kB / 0.7919 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.2373, allocations: 8 kB / 0.7919 GB, free: 6.965 MB / 0.6075 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 9.298e-05/0.2374, allocations: 126.4 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.2375, allocations: 11.89 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.2375, allocations: 8.375 kB / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2375, allocations: 0 / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2375, allocations: 4 kB / 0.792 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2375, allocations: 4 kB / 0.792 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.2379, allocations: 386.5 kB / 0.7924 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2379, allocations: 0 / 0.7924 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.238, allocations: 15.94 kB / 0.7924 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.238, allocations: 7.984 kB / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.238, allocations: 0 / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.238, allocations: 0 / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.238, allocations: 0 / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.2383, allocations: 227.3 kB / 0.7926 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.2384, allocations: 84.95 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2384, allocations: 4 kB / 0.7927 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.2385, allocations: 11.98 kB / 0.7927 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2385, allocations: 11.92 kB / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.2385, allocations: 4 kB / 0.7927 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.2386, allocations: 95.27 kB / 0.7928 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2386, allocations: 0 / 0.7928 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002443/0.2388, allocations: 27.95 kB / 0.7929 GB, free: 5.855 MB / 0.6075 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.0001339/0.239, allocations: 99.25 kB / 0.7929 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.2393, allocations: 187.3 kB / 0.7931 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2393, allocations: 0 / 0.7931 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.2394, allocations: 43.97 kB / 0.7932 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.2397, allocations: 12 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.24, allocations: 179.5 kB / 0.7933 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.2402, allocations: 0.6887 MB / 0.794 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.2403, allocations: 4 kB / 0.794 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.2403, allocations: 7.438 kB / 0.794 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2403, allocations: 8 kB / 0.794 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of Templates: time 0.003411/0.2437, allocations: 1.289 MB / 0.7953 GB, free: 3.289 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) Environment - environmentSimulation: