Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.247/4.247, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.558e-05, allocations: 8 kB / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5014, allocations: 98.7 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.6951, allocations: 123.6 MB / 0.7496 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.6954, allocations: 75.83 kB / 0.7497 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00307/0.6985, allocations: 0.8927 MB / 0.7505 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.029e-06/0.6985, allocations: 0 / 0.7505 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.6986, allocations: 4 kB / 0.7505 GB, free: 3.043 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005128/0.6991, allocations: 357.3 kB / 0.7509 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.6992, allocations: 12.02 kB / 0.7509 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.6992, allocations: 7.906 kB / 0.7509 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.6994, allocations: 178.9 kB / 0.7511 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.6994, allocations: 0 / 0.7511 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.6995, allocations: 4 kB / 0.7511 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.273e-05/0.6996, allocations: 23.98 kB / 0.7511 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.6997, allocations: 45.69 kB / 0.7511 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.431e-06/0.6997, allocations: 0 / 0.7511 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.6997, allocations: 0 / 0.7511 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.6997, allocations: 4 kB / 0.7511 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.7002, allocations: 257.3 kB / 0.7514 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.7003, allocations: 42.58 kB / 0.7514 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.7004, allocations: 16.98 kB / 0.7514 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.7004, allocations: 0 / 0.7514 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.7006, allocations: 71.3 kB / 0.7515 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.793e-06/0.7006, allocations: 3.938 kB / 0.7515 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002163/0.7008, allocations: 73.67 kB / 0.7516 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.7009, allocations: 51.41 kB / 0.7516 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.701, allocations: 109 kB / 0.7517 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.7011, allocations: 33.69 kB / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.7011, allocations: 84.05 kB / 0.7518 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.7012, allocations: 11.91 kB / 0.7519 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-06/0.7012, allocations: 0 / 0.7519 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.7014, allocations: 322.8 kB / 0.7522 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.7014, allocations: 8 kB / 0.7522 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.7015, allocations: 30.58 kB / 0.7522 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.7015, allocations: 12 kB / 0.7522 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.094e-06/0.7015, allocations: 0 / 0.7522 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001674/0.7017, allocations: 73.53 kB / 0.7523 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.7017, allocations: 4 kB / 0.7523 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.889e-06/0.7018, allocations: 3.938 kB / 0.7523 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7018, allocations: 4 kB / 0.7523 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.7019, allocations: 15.92 kB / 0.7523 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.7019, allocations: 64 / 0.7523 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.702, allocations: 19.98 kB / 0.7523 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.702, allocations: 3.953 kB / 0.7523 GB, free: 0.9883 MB / 0.6198 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 () * 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 9.583e-05/0.7021, allocations: 105 kB / 0.7524 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.7022, allocations: 7.906 kB / 0.7524 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.7022, allocations: 12.61 kB / 0.7525 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-06/0.7022, allocations: 0 / 0.7525 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.231e-06/0.7022, allocations: 0 / 0.7525 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.934e-06/0.7023, allocations: 4 kB / 0.7525 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.7025, allocations: 162.1 kB / 0.7526 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-06/0.7025, allocations: 0 / 0.7526 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.7025, allocations: 0 / 0.7526 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.292e-06/0.7025, allocations: 0 / 0.7526 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.888e-06/0.7025, allocations: 0 / 0.7526 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.022e-06/0.7025, allocations: 4 kB / 0.7526 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7025, allocations: 0 / 0.7526 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.7027, allocations: 104.9 kB / 0.7527 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.7028, allocations: 81.11 kB / 0.7528 GB, free: 448 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.7028, allocations: 0 / 0.7528 GB, free: 448 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.703, allocations: 12.17 kB / 0.7528 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.703, allocations: 11.98 kB / 0.7528 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.622e-06/0.703, allocations: 3.938 kB / 0.7528 GB, free: 420 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.573e-05/0.7031, allocations: 95.81 kB / 0.7529 GB, free: 324 kB / 0.6198 GB Notification: Performance of sort global known variables: time 8.33e-07/0.7031, allocations: 0 / 0.7529 GB, free: 324 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002698/0.7034, allocations: 12 kB / 0.7529 GB, free: 312 kB / 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nor1.y) * Number of discrete 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.0001451/0.7036, allocations: 102.5 kB / 0.753 GB, free: 200 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.7037, allocations: 39.92 kB / 0.7531 GB, free: 160 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.507e-06/0.7038, allocations: 0 / 0.7531 GB, free: 160 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.7038, allocations: 24 kB / 0.7531 GB, free: 136 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.7041, allocations: 24.55 kB / 0.7531 GB, free: 112 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.7044, allocations: 95.98 kB / 0.7532 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.7048, allocations: 0.6807 MB / 0.7539 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.804e-05/0.7048, allocations: 11.77 kB / 0.7539 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.7049, allocations: 11.44 kB / 0.7539 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of SimCode: time 1.51e-06/0.7049, allocations: 0 / 0.7539 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of Templates: time 0.003488/0.7084, allocations: 0.7238 MB / 0.7546 GB, free: 14.55 MB / 0.6355 GB