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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.917/3.917, allocations: 432.6 MB / 445.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.247e-05/5.263e-05, allocations: 10.11 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2225, allocations: 98.73 MB / 0.6347 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2442/0.4667, allocations: 124.2 MB / 0.756 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.467, allocations: 71.94 kB / 0.7561 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003615/0.4707, allocations: 0.8957 MB / 0.757 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.559e-06/0.4707, allocations: 0 / 0.757 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4707, allocations: 3.938 kB / 0.757 GB, free: 4.488 MB / 0.6355 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.0005655/0.4713, allocations: 354.5 kB / 0.7573 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.4714, allocations: 8.031 kB / 0.7573 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.4714, allocations: 38.55 kB / 0.7574 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.4715, allocations: 3.906 kB / 0.7574 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.4716, allocations: 171 kB / 0.7575 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.4717, allocations: 4 kB / 0.7575 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.4717, allocations: 7.984 kB / 0.7576 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.4718, allocations: 49.69 kB / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4719, allocations: 4 kB / 0.7576 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.4719, allocations: 0 / 0.7576 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4719, allocations: 0 / 0.7576 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.579e-05/0.472, allocations: 27.92 kB / 0.7576 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.4725, allocations: 280.8 kB / 0.7579 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.4727, allocations: 42.58 kB / 0.7579 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.4728, allocations: 16.98 kB / 0.758 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.4728, allocations: 8 kB / 0.758 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.473, allocations: 71.23 kB / 0.758 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.473, allocations: 0 / 0.758 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000235/0.4732, allocations: 69.64 kB / 0.7581 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.4733, allocations: 59.41 kB / 0.7582 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.4734, allocations: 108.9 kB / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.4735, allocations: 29.7 kB / 0.7583 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.4735, allocations: 84.2 kB / 0.7584 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.4736, allocations: 15.81 kB / 0.7584 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.4736, allocations: 3.938 kB / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4737, allocations: 322.8 kB / 0.7587 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.4738, allocations: 15.94 kB / 0.7587 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/0.4739, allocations: 42.52 kB / 0.7587 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.474, allocations: 11.98 kB / 0.7588 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.474, allocations: 0 / 0.7588 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001808/0.4742, allocations: 74.02 kB / 0.7588 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4742, allocations: 4 kB / 0.7588 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4742, allocations: 4.078 kB / 0.7588 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4742, allocations: 0 / 0.7588 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.4743, allocations: 8.062 kB / 0.7588 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4743, allocations: 7.938 kB / 0.7589 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.4745, allocations: 19.98 kB / 0.7589 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.4745, allocations: 3.938 kB / 0.7589 GB, free: 2.324 MB / 0.6355 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.297e-05/0.4746, allocations: 108.9 kB / 0.759 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.4747, allocations: 7.906 kB / 0.759 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.4747, allocations: 12.61 kB / 0.759 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4747, allocations: 8 kB / 0.759 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4747, allocations: 4 kB / 0.759 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4748, allocations: 3.953 kB / 0.759 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.475, allocations: 177.6 kB / 0.7592 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.475, allocations: 0 / 0.7592 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.466e-05/0.475, allocations: 4 kB / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.475, allocations: 0 / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.475, allocations: 0 / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4751, allocations: 0 / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4751, allocations: 0 / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.4753, allocations: 108.9 kB / 0.7593 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.4753, allocations: 81.09 kB / 0.7594 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.4754, allocations: 4 kB / 0.7594 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.4755, allocations: 13.8 kB / 0.7594 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.4756, allocations: 11.98 kB / 0.7594 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.4756, allocations: 4 kB / 0.7594 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.373e-05/0.4757, allocations: 91.28 kB / 0.7595 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4757, allocations: 0 / 0.7595 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002424/0.476, allocations: 8 kB / 0.7595 GB, free: 1.594 MB / 0.6355 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.0006773/0.4767, allocations: 0.6513 MB / 0.7601 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.4768, allocations: 36.06 kB / 0.7602 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4769, allocations: 4.062 kB / 0.7602 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.687e-05/0.477, allocations: 27.94 kB / 0.7602 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.4773, allocations: 22.28 kB / 0.7602 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.4777, allocations: 122.7 kB / 0.7603 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4781, allocations: 0.6887 MB / 0.761 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.529e-05/0.4781, allocations: 19.75 kB / 0.761 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.4782, allocations: 15.44 kB / 0.761 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.4782, allocations: 4 kB / 0.761 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.5027, allocations: 1.59 MB / 0.7626 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/0.5031, allocations: 153.4 kB / 0.7627 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/2.907, allocations: 0 / 0.7627 GB, free: 14.18 MB / 0.6511 GB