Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.498/2.498, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 176.7 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.477/2.477, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 100.4 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006614/0.0006616, allocations: 15.03 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2312, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001603/0.2329, allocations: 1.084 MB / 0.9 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004774/0.2334, allocations: 197.4 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.2334, allocations: 0 / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.2335, allocations: 3.984 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.604e-05/0.2336, allocations: 15.92 kB / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.2337, allocations: 15.92 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.2338, allocations: 31.95 kB / 0.9002 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.2339, allocations: 15.92 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.234, allocations: 15.92 kB / 0.9002 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.234, allocations: 23.91 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.2341, allocations: 0 / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.2341, allocations: 4 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.2341, allocations: 11.94 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.2342, allocations: 29.7 kB / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.847e-05/0.2343, allocations: 35.92 kB / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2343, allocations: 0 / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2343, allocations: 0 / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2343, allocations: 0 / 0.9003 GB, free: 64.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005808/0.2349, allocations: 371.1 kB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2349, allocations: 8.031 kB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.235, allocations: 4 kB / 0.9007 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2351, allocations: 190.8 kB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2352, allocations: 0 / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.2352, allocations: 4 kB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.2353, allocations: 53.67 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.2353, allocations: 0 / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2354, allocations: 0 / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2354, allocations: 3.984 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.2355, allocations: 24 kB / 0.901 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.2359, allocations: 280.8 kB / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.236, allocations: 42.56 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.236, allocations: 4 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.2362, allocations: 71.52 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.2362, allocations: 0 / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002653/0.2365, allocations: 97.58 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.2366, allocations: 55.36 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.2367, allocations: 113.8 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2367, allocations: 33.64 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.2367, allocations: 84.14 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.2368, allocations: 23.73 kB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.2368, allocations: 4 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.2369, allocations: 314.8 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.2369, allocations: 15.98 kB / 0.9021 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.828e-05/0.237, allocations: 30.58 kB / 0.9021 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.237, allocations: 15.94 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.237, allocations: 0 / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001552/0.2372, allocations: 85.52 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2372, allocations: 4 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2373, allocations: 3.984 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2373, allocations: 4 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.2374, allocations: 8 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2374, allocations: 0 / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.2375, allocations: 23.88 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.2375, allocations: 0 / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.91e-05/0.2376, allocations: 121.9 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.2377, allocations: 11.84 kB / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.2377, allocations: 8.375 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2377, allocations: 7.984 kB / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2377, allocations: 0 / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2377, allocations: 0 / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.2379, allocations: 173.6 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2379, allocations: 0 / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.2379, allocations: 7.984 kB / 0.9025 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.238, allocations: 4 kB / 0.9025 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.238, allocations: 0 / 0.9025 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.238, allocations: 4 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.238, allocations: 0 / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.2382, allocations: 101.8 kB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.2382, allocations: 85 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.2382, allocations: 4 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.2384, allocations: 19.98 kB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.2384, allocations: 11.92 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2385, allocations: 4 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.778e-05/0.2385, allocations: 95.27 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2385, allocations: 4 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000263/0.2388, allocations: 12.19 kB / 0.9029 GB, free: 61.5 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * 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.0001072/0.2389, allocations: 95.25 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.2391, allocations: 51.86 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2391, allocations: 0 / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.2392, allocations: 24 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.2395, allocations: 13.97 kB / 0.903 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.2399, allocations: 173 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.24, allocations: 0.6887 MB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.2401, allocations: 7.859 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.2401, allocations: 11.44 kB / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/0.2402, allocations: 0 / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.00357/0.2437, allocations: 0.748 MB / 0.9046 GB, free: 59.64 MB / 0.6042 GB