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.Nand.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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01066/0.01067, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001135/0.001135, allocations: 176 kB / 16.06 MB, free: 5.832 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.972/3.972, allocations: 389.1 MB / 405.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.195/4.195, allocations: 472.3 MB / 0.9018 GB, free: 28 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005104, allocations: 12 kB / 1.008 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5447/0.5453, allocations: 98.71 MB / 1.104 GB, free: 206.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001312/0.5466, allocations: 1.083 MB / 1.105 GB, free: 205.6 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004055/0.547, allocations: 192.7 kB / 1.105 GB, free: 205.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.5471, allocations: 0 / 1.105 GB, free: 205.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.5471, allocations: 1.266 kB / 1.105 GB, free: 205.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.5472, allocations: 11.5 kB / 1.105 GB, free: 205.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.5473, allocations: 14.38 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.5474, allocations: 54.34 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.768e-05/0.5475, allocations: 10.44 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.5476, allocations: 17.98 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.5476, allocations: 22.28 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.5477, allocations: 2.406 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.5477, allocations: 3.281 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.5477, allocations: 14.06 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.5477, allocations: 29.33 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.248e-05/0.5478, allocations: 31.28 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.063e-06/0.5478, allocations: 0 / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.053e-06/0.5479, allocations: 1.594 kB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.561e-06/0.5479, allocations: 3.562 kB / 1.105 GB, free: 205.4 MB / 0.7136 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.00046/0.5483, allocations: 366.6 kB / 1.106 GB, free: 205 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.5484, allocations: 10.14 kB / 1.106 GB, free: 205 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.5484, allocations: 6.344 kB / 1.106 GB, free: 205 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.5485, allocations: 181.4 kB / 1.106 GB, free: 204.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5486, allocations: 4.531 kB / 1.106 GB, free: 204.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.872e-05/0.5486, allocations: 3.062 kB / 1.106 GB, free: 204.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.5487, allocations: 54.72 kB / 1.106 GB, free: 204.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-06/0.5488, allocations: 0 / 1.106 GB, free: 204.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5488, allocations: 0.75 kB / 1.106 GB, free: 204.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.427e-06/0.5488, allocations: 4.906 kB / 1.106 GB, free: 204.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.5489, allocations: 22.14 kB / 1.106 GB, free: 204.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.5493, allocations: 284.5 kB / 1.106 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.5494, allocations: 40.84 kB / 1.106 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.5495, allocations: 17.91 kB / 1.106 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.754e-06/0.5495, allocations: 1.578 kB / 1.106 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.5497, allocations: 73.09 kB / 1.107 GB, free: 204.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.509e-06/0.5497, allocations: 3.938 kB / 1.107 GB, free: 204.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002401/0.5499, allocations: 89.55 kB / 1.107 GB, free: 204.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.55, allocations: 58.47 kB / 1.107 GB, free: 204.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.5501, allocations: 114.4 kB / 1.107 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.5501, allocations: 30.33 kB / 1.107 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.5501, allocations: 90.39 kB / 1.107 GB, free: 204 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.5502, allocations: 11.22 kB / 1.107 GB, free: 204 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-06/0.5502, allocations: 1.125 kB / 1.107 GB, free: 204 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.5502, allocations: 322.4 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.41e-05/0.5503, allocations: 13.25 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/0.5504, allocations: 39.19 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.5504, allocations: 15.02 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.258e-06/0.5504, allocations: 0 / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000155/0.5506, allocations: 83.67 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5506, allocations: 4.375 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.598e-06/0.5506, allocations: 5.531 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5507, allocations: 1.797 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.486e-05/0.5507, allocations: 9.078 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.249e-06/0.5507, allocations: 6.578 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.5509, allocations: 24.41 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.085e-06/0.5509, allocations: 2.812 kB / 1.107 GB, free: 203.6 MB / 0.7136 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,nand1.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 6.943e-05/0.551, allocations: 119.2 kB / 1.108 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.853e-05/0.551, allocations: 7.375 kB / 1.108 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.551, allocations: 10.23 kB / 1.108 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-06/0.5511, allocations: 3.281 kB / 1.108 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.272e-06/0.5511, allocations: 0.6562 kB / 1.108 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.142e-06/0.5511, allocations: 5.203 kB / 1.108 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.5512, allocations: 171.6 kB / 1.108 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-06/0.5512, allocations: 0.9375 kB / 1.108 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.5513, allocations: 5 kB / 1.108 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.832e-06/0.5513, allocations: 4.406 kB / 1.108 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5513, allocations: 0.7969 kB / 1.108 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.303e-06/0.5513, allocations: 1.031 kB / 1.108 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.526e-06/0.5513, allocations: 0 / 1.108 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.5515, allocations: 104 kB / 1.108 GB, free: 203.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.5515, allocations: 80.39 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.5515, allocations: 5.188 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.5517, allocations: 17.92 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.5517, allocations: 8.016 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.5517, allocations: 3.234 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.701e-05/0.5518, allocations: 93.42 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.54e-07/0.5518, allocations: 0 / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002615/0.5521, allocations: 16.97 kB / 1.108 GB, free: 202.9 MB / 0.7136 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,nand1.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.0001067/0.5522, allocations: 104.6 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.5524, allocations: 45.7 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5524, allocations: 0 / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.5525, allocations: 25.66 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.5527, allocations: 20.73 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.5531, allocations: 169.2 kB / 1.108 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.5532, allocations: 0.687 MB / 1.109 GB, free: 202 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.679e-05/0.5533, allocations: 15.91 kB / 1.109 GB, free: 202 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.5533, allocations: 11.77 kB / 1.109 GB, free: 202 MB / 0.7136 GB Notification: Performance of SimCode: time 1.32e-06/0.5534, allocations: 0 / 1.109 GB, free: 202 MB / 0.7136 GB Notification: Performance of Templates: time 0.003521/0.5569, allocations: 0.746 MB / 1.11 GB, free: 202 MB / 0.7136 GB