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.0092/0.0092, allocations: 107.7 kB / 15.06 MB, free: 5.559 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.001171/0.001171, allocations: 181.7 kB / 15.95 MB, free: 5.523 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 1.933/1.933, allocations: 194.6 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.27/2.27, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004755, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6249, allocations: 98.7 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00135/0.6263, allocations: 1.07 MB / 0.6844 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004273/0.6267, allocations: 198.7 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/0.6268, allocations: 0 / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.6268, allocations: 1.172 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.6269, allocations: 12.67 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.6271, allocations: 21.31 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.6271, allocations: 37.12 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.6272, allocations: 6.031 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.6273, allocations: 18.3 kB / 0.6847 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.6274, allocations: 19.42 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.6274, allocations: 6.438 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.6274, allocations: 1.375 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.6274, allocations: 4.281 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.6275, allocations: 38.17 kB / 0.6847 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.595e-05/0.6276, allocations: 38 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.65e-06/0.6276, allocations: 0 / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.929e-06/0.6276, allocations: 1.594 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.804e-06/0.6276, allocations: 0 / 0.6848 GB, free: 15.68 MB / 0.5261 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.0004721/0.6281, allocations: 363.1 kB / 0.6851 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6281, allocations: 15.11 kB / 0.6851 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.6282, allocations: 5.375 kB / 0.6851 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.283e-05/0.6283, allocations: 174.5 kB / 0.6853 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.6283, allocations: 5 kB / 0.6853 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.6283, allocations: 6.562 kB / 0.6853 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.6285, allocations: 49.64 kB / 0.6854 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.968e-06/0.6285, allocations: 0 / 0.6854 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6285, allocations: 6.188 kB / 0.6854 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.6285, allocations: 0 / 0.6854 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.782e-05/0.6286, allocations: 19.48 kB / 0.6854 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.629, allocations: 284.2 kB / 0.6857 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.6291, allocations: 54.16 kB / 0.6857 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.6292, allocations: 1.719 kB / 0.6857 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.6293, allocations: 70.86 kB / 0.6858 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/0.6294, allocations: 1.156 kB / 0.6858 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002369/0.6296, allocations: 81.45 kB / 0.6859 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.6297, allocations: 57.72 kB / 0.6859 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.6297, allocations: 117.8 kB / 0.686 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.6298, allocations: 30.98 kB / 0.6861 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.6298, allocations: 90.7 kB / 0.6861 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.6298, allocations: 12.88 kB / 0.6862 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-06/0.6299, allocations: 0 / 0.6862 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.361e-05/0.6299, allocations: 321.8 kB / 0.6865 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.63, allocations: 17.66 kB / 0.6865 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.592e-05/0.63, allocations: 35.94 kB / 0.6865 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.6301, allocations: 11.84 kB / 0.6865 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6301, allocations: 3.938 kB / 0.6865 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001542/0.6303, allocations: 79.72 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6303, allocations: 8.562 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.287e-06/0.6303, allocations: 2.078 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6303, allocations: 1.562 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.6304, allocations: 8.938 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.555e-06/0.6304, allocations: 1.422 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.6305, allocations: 21.78 kB / 0.6867 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.6306, allocations: 7.922 kB / 0.6867 GB, free: 13.87 MB / 0.5261 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.946e-05/0.6307, allocations: 122.2 kB / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.6307, allocations: 7.266 kB / 0.6868 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.6307, allocations: 10.17 kB / 0.6868 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-06/0.6307, allocations: 1.156 kB / 0.6868 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.746e-06/0.6307, allocations: 0.6562 kB / 0.6868 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6308, allocations: 1.438 kB / 0.6868 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.6309, allocations: 179.5 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.6309, allocations: 0 / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.6309, allocations: 1.969 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.631, allocations: 1.531 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.631, allocations: 4.703 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.064e-06/0.631, allocations: 5.25 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.631, allocations: 0 / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.6312, allocations: 99.88 kB / 0.6871 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.6312, allocations: 78.77 kB / 0.6872 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.6312, allocations: 5.781 kB / 0.6872 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.6313, allocations: 18.42 kB / 0.6872 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.6314, allocations: 9.609 kB / 0.6872 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.6314, allocations: 5.656 kB / 0.6872 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.6315, allocations: 89.2 kB / 0.6873 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.4e-07/0.6315, allocations: 0 / 0.6873 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002633/0.6318, allocations: 14.92 kB / 0.6873 GB, free: 13.25 MB / 0.5261 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.0001036/0.6319, allocations: 101.3 kB / 0.6874 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.632, allocations: 49.92 kB / 0.6874 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.426e-06/0.632, allocations: 192 / 0.6874 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.911e-05/0.6321, allocations: 28.53 kB / 0.6875 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.6324, allocations: 27.94 kB / 0.6875 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.6327, allocations: 167.6 kB / 0.6876 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.6329, allocations: 0.69 MB / 0.6883 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.6329, allocations: 5.656 kB / 0.6883 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.6329, allocations: 10.33 kB / 0.6883 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.394e-06/0.633, allocations: 1.094 kB / 0.6883 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.003489/0.6365, allocations: 0.7414 MB / 0.6891 GB, free: 12.19 MB / 0.5261 GB