Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.591/2.591, allocations: 287.9 MB / 302.9 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001454/0.001453, allocations: 173.2 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.231/2.231, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 84.56 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006108/0.0006109, allocations: 13.09 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2233, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00126/0.2246, allocations: 0.541 MB / 0.9793 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.2273, allocations: 1.38 MB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.2275, allocations: 3.938 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.2276, allocations: 15.86 kB / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2277, allocations: 35.92 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.2302, allocations: 470.6 kB / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.2307, allocations: 239.6 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.2309, allocations: 33.48 kB / 0.9814 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.2312, allocations: 155.7 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.2315, allocations: 127.6 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.2316, allocations: 20 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.2318, allocations: 39.97 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.2319, allocations: 35.91 kB / 0.9818 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.2321, allocations: 65.64 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.2326, allocations: 283.5 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2326, allocations: 0 / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2326, allocations: 0 / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.686e-06/0.2327, allocations: 0 / 0.9821 GB, free: 24.75 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007701/0.2335, allocations: 0.5695 MB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2335, allocations: 15.95 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.646e-05/0.2336, allocations: 31.72 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.2339, allocations: 267.3 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.234, allocations: 16 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.2341, allocations: 32 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.2344, allocations: 151.9 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2344, allocations: 4 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2344, allocations: 0 / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-06/0.2344, allocations: 7.984 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.2346, allocations: 85.97 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008835/0.2355, allocations: 0.7263 MB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.2357, allocations: 163.7 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2357, allocations: 8 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.236, allocations: 156.2 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.986e-06/0.236, allocations: 0 / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0005163/0.2366, allocations: 235.6 kB / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2366, allocations: 59.39 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.2368, allocations: 182.3 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/0.2368, allocations: 45.64 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.237, allocations: 132.4 kB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.237, allocations: 43.44 kB / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.2371, allocations: 16 kB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.2371, allocations: 326.8 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.2375, allocations: 151.9 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.238, allocations: 244.2 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.2384, allocations: 292.4 kB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.579e-06/0.2384, allocations: 4 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001131/0.2395, allocations: 0.6071 MB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/0.2396, allocations: 164.8 kB / 0.9867 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.611e-06/0.2397, allocations: 8 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2397, allocations: 4 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.6e-05/0.2397, allocations: 7.938 kB / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2398, allocations: 11.92 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009663/0.2407, allocations: 197.4 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/0.2408, allocations: 35.94 kB / 0.9869 GB, free: 19.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001935/0.241, allocations: 157.7 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.2411, allocations: 19.8 kB / 0.9871 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.2411, allocations: 17.88 kB / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.076e-06/0.2411, allocations: 4 kB / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.567e-06/0.2412, allocations: 0 / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.613e-06/0.2412, allocations: 0 / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.2418, allocations: 0.5023 MB / 0.9876 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-06/0.2418, allocations: 4 kB / 0.9876 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.2418, allocations: 7.938 kB / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.567e-06/0.2419, allocations: 4 kB / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2419, allocations: 0 / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.083e-06/0.2419, allocations: 7.984 kB / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-06/0.2419, allocations: 0 / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.2422, allocations: 278.1 kB / 0.9879 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.2423, allocations: 100.9 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.2423, allocations: 12.05 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2424, allocations: 0 / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.12e-05/0.2425, allocations: 23.91 kB / 0.988 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2425, allocations: 12 kB / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.147e-05/0.2426, allocations: 120.2 kB / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.6e-07/0.2426, allocations: 4 kB / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004636/0.2431, allocations: 79.89 kB / 0.9882 GB, free: 17.98 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000152/0.2433, allocations: 115.2 kB / 0.9883 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007964/0.2441, allocations: 0.6101 MB / 0.9889 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.761e-06/0.2441, allocations: 0 / 0.9889 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.2442, allocations: 83.83 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.2446, allocations: 40.66 kB / 0.989 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.2452, allocations: 363.2 kB / 0.9894 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.2454, allocations: 0.74 MB / 0.9901 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.979e-05/0.2455, allocations: 21.55 kB / 0.9901 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.2456, allocations: 15.44 kB / 0.9901 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of SimCode: time 1.379e-06/0.2456, allocations: 0 / 0.9901 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.008924/0.2545, allocations: 4.147 MB / 0.9942 GB, free: 11.8 MB / 0.6198 GB