Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004263/0.004268, allocations: 233.2 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001116/0.001116, allocations: 173.2 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.941/3.941, allocations: 389.1 MB / 406.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.896/3.896, allocations: 472.3 MB / 0.9024 GB, free: 18.75 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004975, allocations: 12 kB / 1.008 GB, free: 13.41 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 98.72 MB / 1.105 GB, free: 10.74 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7588/0.9785, allocations: 124.3 MB / 1.226 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.9788, allocations: 75.3 kB / 1.226 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.003212/0.982, allocations: 0.8908 MB / 1.227 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9821, allocations: 0 / 1.227 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.9821, allocations: 0 / 1.227 GB, free: 3.219 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.0005096/0.9826, allocations: 367.8 kB / 1.227 GB, free: 2.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.9826, allocations: 10.89 kB / 1.227 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.9827, allocations: 8.062 kB / 1.227 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.9828, allocations: 175.7 kB / 1.228 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.9828, allocations: 0.9375 kB / 1.228 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.9829, allocations: 5.594 kB / 1.228 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.983, allocations: 50.31 kB / 1.228 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.983, allocations: 0 / 1.228 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.983, allocations: 8.844 kB / 1.228 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.9831, allocations: 0 / 1.228 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.9831, allocations: 22.69 kB / 1.228 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.9836, allocations: 285.5 kB / 1.228 GB, free: 2.273 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.9837, allocations: 41.67 kB / 1.228 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.9838, allocations: 20.77 kB / 1.228 GB, free: 2.219 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.9838, allocations: 1.375 kB / 1.228 GB, free: 2.219 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.984, allocations: 72.11 kB / 1.228 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.984, allocations: 1.094 kB / 1.228 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002503/0.9842, allocations: 83.45 kB / 1.228 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.9843, allocations: 61.5 kB / 1.228 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.9844, allocations: 117.3 kB / 1.228 GB, free: 1.902 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.9844, allocations: 29.08 kB / 1.228 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.9845, allocations: 87.95 kB / 1.228 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.9845, allocations: 12.12 kB / 1.228 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.9845, allocations: 4 kB / 1.228 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.979e-05/0.9846, allocations: 319.6 kB / 1.229 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.9846, allocations: 19.03 kB / 1.229 GB, free: 1.445 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.9847, allocations: 32.53 kB / 1.229 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.9847, allocations: 14.56 kB / 1.229 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9848, allocations: 0 / 1.229 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001519/0.9849, allocations: 87.69 kB / 1.229 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.9849, allocations: 4.062 kB / 1.229 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.985, allocations: 4 kB / 1.229 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.985, allocations: 2.719 kB / 1.229 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.9851, allocations: 9.594 kB / 1.229 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.9851, allocations: 9.766 kB / 1.229 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.9852, allocations: 15.95 kB / 1.229 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.9853, allocations: 4 kB / 1.229 GB, free: 1.297 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 8.503e-05/0.9853, allocations: 128.3 kB / 1.229 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.9854, allocations: 9.406 kB / 1.229 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.9854, allocations: 8 kB / 1.229 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9854, allocations: 0 / 1.229 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9854, allocations: 0 / 1.229 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.9855, allocations: 9.453 kB / 1.229 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.9856, allocations: 170.5 kB / 1.229 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9856, allocations: 0 / 1.229 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.9857, allocations: 4 kB / 1.229 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9857, allocations: 0 / 1.229 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.9857, allocations: 1.547 kB / 1.229 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9857, allocations: 4 kB / 1.229 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9857, allocations: 3.562 kB / 1.229 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.9859, allocations: 107.7 kB / 1.229 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.9859, allocations: 83.09 kB / 1.229 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.986, allocations: 1.172 kB / 1.229 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.9862, allocations: 16.36 kB / 1.229 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.9863, allocations: 16.39 kB / 1.229 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.9863, allocations: 2.938 kB / 1.229 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.9864, allocations: 88.83 kB / 1.23 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9864, allocations: 0 / 1.23 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004416/0.9868, allocations: 15.31 kB / 1.23 GB, free: 0.6367 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.0001399/0.987, allocations: 100.8 kB / 1.23 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.9872, allocations: 47.12 kB / 1.23 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9872, allocations: 6.656 kB / 1.23 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.9873, allocations: 23.03 kB / 1.23 GB, free: 492 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.9878, allocations: 19.2 kB / 1.23 GB, free: 480 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.9883, allocations: 170.1 kB / 1.23 GB, free: 312 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.9886, allocations: 0.6915 MB / 1.231 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.675e-05/0.9887, allocations: 1.359 kB / 1.231 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.9888, allocations: 11.44 kB / 1.231 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.9888, allocations: 0 / 1.231 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.004814/0.9936, allocations: 0.7437 MB / 1.231 GB, free: 15.16 MB / 0.6198 GB