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.009047/0.009051, allocations: 109.6 kB / 15.06 MB, free: 5.562 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.001101/0.001101, allocations: 179.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.871/1.871, allocations: 194.6 MB / 211.3 MB, free: 10.94 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.431/2.431, allocations: 236.1 MB / 492.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007877/0.0007883, allocations: 12 kB / 0.5869 GB, free: 2.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.7094, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001383/0.7108, allocations: 1.075 MB / 0.6844 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004144/0.7113, allocations: 196.9 kB / 0.6846 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.7113, allocations: 1.094 kB / 0.6846 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.7114, allocations: 0.9375 kB / 0.6846 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.7115, allocations: 7.703 kB / 0.6846 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.7116, allocations: 23.09 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.396e-05/0.7117, allocations: 35.73 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/0.7118, allocations: 10.05 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.7118, allocations: 18.88 kB / 0.6847 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.7119, allocations: 18.42 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.7119, allocations: 6.25 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.712, allocations: 2.406 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.712, allocations: 11.95 kB / 0.6847 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.712, allocations: 33.48 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.767e-05/0.7121, allocations: 31.27 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.201e-06/0.7121, allocations: 4 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.381e-06/0.7121, allocations: 0 / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.271e-06/0.7122, allocations: 0 / 0.6848 GB, free: 15.7 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.0004743/0.7126, allocations: 369.1 kB / 0.6851 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.7127, allocations: 9.438 kB / 0.6851 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.7127, allocations: 2.562 kB / 0.6852 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.7129, allocations: 184.2 kB / 0.6853 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.7129, allocations: 6.891 kB / 0.6853 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.7129, allocations: 2.375 kB / 0.6853 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.713, allocations: 53.73 kB / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.483e-06/0.7131, allocations: 1.375 kB / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.7131, allocations: 0.8438 kB / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-06/0.7131, allocations: 1 kB / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.7132, allocations: 22.31 kB / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.7136, allocations: 284.4 kB / 0.6857 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.7137, allocations: 42.45 kB / 0.6857 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.7138, allocations: 5.312 kB / 0.6857 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.7139, allocations: 67.34 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 4.079e-06/0.714, allocations: 4 kB / 0.6858 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.000241/0.7142, allocations: 86.41 kB / 0.6859 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.7143, allocations: 57.89 kB / 0.6859 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.7144, allocations: 126.8 kB / 0.6861 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.7144, allocations: 25.7 kB / 0.6861 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.7144, allocations: 92.55 kB / 0.6862 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.7145, allocations: 10.48 kB / 0.6862 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-06/0.7145, allocations: 1.531 kB / 0.6862 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.7145, allocations: 314.2 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.59e-05/0.7146, allocations: 21.45 kB / 0.6865 GB, free: 14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.7147, allocations: 31.47 kB / 0.6865 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/0.7147, allocations: 10.66 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-06/0.7147, allocations: 5.469 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001557/0.7149, allocations: 78.53 kB / 0.6866 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.7149, allocations: 6.781 kB / 0.6866 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.92e-06/0.7149, allocations: 4.062 kB / 0.6866 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.715, allocations: 1.594 kB / 0.6866 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.7151, allocations: 9.812 kB / 0.6866 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.3e-06/0.7151, allocations: 1.125 kB / 0.6866 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.7152, allocations: 26.66 kB / 0.6867 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-06/0.7153, allocations: 2.625 kB / 0.6867 GB, free: 13.89 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,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.515e-05/0.7153, allocations: 115.3 kB / 0.6868 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.7154, allocations: 10.59 kB / 0.6868 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.7154, allocations: 14.62 kB / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-06/0.7154, allocations: 1.469 kB / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.351e-06/0.7154, allocations: 0 / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.364e-06/0.7154, allocations: 2.281 kB / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.7156, allocations: 178.6 kB / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-06/0.7156, allocations: 0 / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.7156, allocations: 3.016 kB / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.92e-06/0.7156, allocations: 0 / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.7157, allocations: 5.094 kB / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.711e-06/0.7157, allocations: 6.328 kB / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-06/0.7157, allocations: 3.938 kB / 0.687 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.7159, allocations: 99.48 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.7159, allocations: 79.12 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.7159, allocations: 1.156 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.716, allocations: 18.98 kB / 0.6872 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.7161, allocations: 16.31 kB / 0.6872 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.7161, allocations: 6.469 kB / 0.6872 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.7162, allocations: 88.91 kB / 0.6873 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.99e-07/0.7162, allocations: 0 / 0.6873 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002609/0.7165, allocations: 11.66 kB / 0.6873 GB, free: 13.26 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,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.7166, allocations: 104 kB / 0.6874 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.7168, allocations: 46.05 kB / 0.6874 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.823e-06/0.7168, allocations: 4.125 kB / 0.6874 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.7168, allocations: 29.12 kB / 0.6875 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.7171, allocations: 18.39 kB / 0.6875 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.7174, allocations: 167.8 kB / 0.6877 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.7176, allocations: 0.692 MB / 0.6883 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.7176, allocations: 5.109 kB / 0.6883 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.7177, allocations: 12 kB / 0.6883 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.577e-06/0.7177, allocations: 0 / 0.6883 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.003515/0.7212, allocations: 0.7351 MB / 0.6891 GB, free: 12.21 MB / 0.5261 GB