Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01001/0.01002, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001143/0.001143, allocations: 170.4 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.022/2.022, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.433/2.433, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007706/0.0007707, allocations: 16 kB / 0.6243 GB, free: 21.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2423, allocations: 106.2 MB / 0.7281 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002699/0.2451, allocations: 1.09 MB / 0.7291 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007615/0.2459, allocations: 194 kB / 0.7293 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.246, allocations: 4 kB / 0.7293 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.246, allocations: 0 / 0.7293 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.2461, allocations: 7.984 kB / 0.7293 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.2463, allocations: 19.86 kB / 0.7294 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.2465, allocations: 35.95 kB / 0.7294 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2466, allocations: 11.98 kB / 0.7294 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.2467, allocations: 15.94 kB / 0.7294 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.2468, allocations: 27.89 kB / 0.7294 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.2468, allocations: 0 / 0.7294 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.385e-05/0.2469, allocations: 4 kB / 0.7294 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.2469, allocations: 0 / 0.7294 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.247, allocations: 37.64 kB / 0.7295 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2471, allocations: 35.92 kB / 0.7295 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2471, allocations: 0 / 0.7295 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2471, allocations: 4 kB / 0.7295 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2472, allocations: 0 / 0.7295 GB, free: 6.621 MB / 0.5573 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.0008857/0.2481, allocations: 367.5 kB / 0.7299 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.2481, allocations: 12.02 kB / 0.7299 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.569e-05/0.2482, allocations: 34.56 kB / 0.7299 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.2483, allocations: 4 kB / 0.7299 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.2485, allocations: 178.9 kB / 0.7301 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2485, allocations: 7.984 kB / 0.7301 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.2486, allocations: 7.922 kB / 0.7301 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.2488, allocations: 53.67 kB / 0.7302 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2488, allocations: 0 / 0.7302 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.2488, allocations: 0 / 0.7302 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2489, allocations: 0 / 0.7302 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.249, allocations: 23.98 kB / 0.7302 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.2497, allocations: 288.8 kB / 0.7305 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.2499, allocations: 42.52 kB / 0.7305 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.2499, allocations: 0 / 0.7305 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.2502, allocations: 75.44 kB / 0.7306 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/0.2502, allocations: 4 kB / 0.7306 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0003798/0.2506, allocations: 89.59 kB / 0.7307 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.2507, allocations: 59.36 kB / 0.7307 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2509, allocations: 117.8 kB / 0.7308 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.2509, allocations: 25.7 kB / 0.7308 GB, free: 5.051 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.251, allocations: 88.05 kB / 0.7309 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.251, allocations: 15.84 kB / 0.7309 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.2511, allocations: 0 / 0.7309 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2512, allocations: 326.8 kB / 0.7313 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/0.2513, allocations: 12 kB / 0.7313 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.2514, allocations: 34.56 kB / 0.7313 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.524e-05/0.2515, allocations: 12 kB / 0.7313 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2515, allocations: 0 / 0.7313 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002539/0.2518, allocations: 82.14 kB / 0.7314 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.2518, allocations: 4 kB / 0.7314 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2519, allocations: 12 kB / 0.7314 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2519, allocations: 0 / 0.7314 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.252, allocations: 8 kB / 0.7314 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.252, allocations: 8.016 kB / 0.7314 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.2522, allocations: 15.98 kB / 0.7314 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.2522, allocations: 4 kB / 0.7314 GB, free: 4.414 MB / 0.5573 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 0.0001303/0.2524, allocations: 117.8 kB / 0.7316 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.2524, allocations: 7.906 kB / 0.7316 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.2525, allocations: 12.38 kB / 0.7316 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2525, allocations: 192 / 0.7316 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2525, allocations: 0 / 0.7316 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2525, allocations: 7.891 kB / 0.7316 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.2528, allocations: 173.6 kB / 0.7317 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2528, allocations: 0 / 0.7317 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.2528, allocations: 3.938 kB / 0.7318 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2529, allocations: 0 / 0.7318 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.2529, allocations: 8 kB / 0.7318 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2529, allocations: 0 / 0.7318 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2529, allocations: 4 kB / 0.7318 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.2532, allocations: 105 kB / 0.7319 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.2533, allocations: 85.05 kB / 0.7319 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.2533, allocations: 0 / 0.7319 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.2535, allocations: 11.98 kB / 0.732 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.2536, allocations: 15.98 kB / 0.732 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2536, allocations: 4 kB / 0.732 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.448e-05/0.2537, allocations: 91.27 kB / 0.7321 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2537, allocations: 0 / 0.7321 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004485/0.2542, allocations: 8 kB / 0.7321 GB, free: 3.676 MB / 0.5573 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.0006653/0.2549, allocations: 0.652 MB / 0.7327 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.2551, allocations: 43.92 kB / 0.7327 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2551, allocations: 0 / 0.7327 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.2552, allocations: 20 kB / 0.7328 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.2556, allocations: 15.98 kB / 0.7328 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.257, allocations: 0.7791 MB / 0.7335 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.2574, allocations: 0.6926 MB / 0.7342 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.796e-05/0.2575, allocations: 4 kB / 0.7342 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.2576, allocations: 19.42 kB / 0.7342 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of SimCode: time 8.32e-07/0.2576, allocations: 0 / 0.7342 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/0.3081, allocations: 1.595 MB / 0.7358 GB, free: 15.84 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/0.3084, allocations: 186.1 kB / 0.736 GB, free: 15.61 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/2.67, allocations: 4 kB / 0.736 GB, free: 15.61 MB / 0.573 GB