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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.163/4.163, allocations: 433.2 MB / 440.8 MB, free: 4.512 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.618e-05, allocations: 7.969 kB / 0.5325 GB, free: 12.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 98.73 MB / 0.6289 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/0.5126, allocations: 123.6 MB / 0.7496 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.513, allocations: 71.95 kB / 0.7496 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003433/0.5164, allocations: 0.8953 MB / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5164, allocations: 0 / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5165, allocations: 0 / 0.7505 GB, free: 12.31 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.0005455/0.517, allocations: 358.5 kB / 0.7509 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5171, allocations: 12.03 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.5171, allocations: 7.859 kB / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.5173, allocations: 171 kB / 0.751 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.5173, allocations: 4 kB / 0.751 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.5174, allocations: 4 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.765e-05/0.5175, allocations: 15.98 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.5176, allocations: 53.62 kB / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.5176, allocations: 0 / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5176, allocations: 0 / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5176, allocations: 0 / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.5181, allocations: 257.4 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.5182, allocations: 46.56 kB / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.5183, allocations: 16.92 kB / 0.7514 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.5183, allocations: 4 kB / 0.7514 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.5185, allocations: 79.28 kB / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.5185, allocations: 0 / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002056/0.5187, allocations: 65.69 kB / 0.7516 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.5188, allocations: 55.36 kB / 0.7516 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.5189, allocations: 112.9 kB / 0.7517 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5189, allocations: 29.7 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.519, allocations: 80.14 kB / 0.7518 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.519, allocations: 15.81 kB / 0.7518 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.519, allocations: 0 / 0.7518 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5192, allocations: 322.8 kB / 0.7522 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.5192, allocations: 12 kB / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.5193, allocations: 30.52 kB / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.5194, allocations: 16 kB / 0.7522 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5194, allocations: 0 / 0.7522 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001554/0.5195, allocations: 73.61 kB / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5196, allocations: 4 kB / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5196, allocations: 0 / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5196, allocations: 0 / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.5197, allocations: 11.98 kB / 0.7523 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.5197, allocations: 0 / 0.7523 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.5198, allocations: 20 kB / 0.7523 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5199, allocations: 4 kB / 0.7523 GB, free: 10.25 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 8.896e-05/0.52, allocations: 112.9 kB / 0.7524 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001376/0.5201, allocations: 65.59 kB / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.5201, allocations: 7.906 kB / 0.7525 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.5202, allocations: 4.625 kB / 0.7525 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5202, allocations: 0 / 0.7525 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5202, allocations: 11.95 kB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5202, allocations: 7.984 kB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.5204, allocations: 150.2 kB / 0.7527 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5204, allocations: 0 / 0.7527 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.5204, allocations: 0 / 0.7527 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5205, allocations: 0 / 0.7527 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.5205, allocations: 4 kB / 0.7527 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5205, allocations: 0 / 0.7527 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.5205, allocations: 192 / 0.7527 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.5207, allocations: 105.5 kB / 0.7528 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.5207, allocations: 84.95 kB / 0.7528 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.5208, allocations: 0 / 0.7528 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.5209, allocations: 15.98 kB / 0.7529 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.521, allocations: 7.984 kB / 0.7529 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.521, allocations: 4 kB / 0.7529 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.5211, allocations: 95.33 kB / 0.753 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5211, allocations: 4 kB / 0.753 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002643/0.5214, allocations: 8 kB / 0.753 GB, free: 9.492 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.000485/0.5218, allocations: 0.6358 MB / 0.7536 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.522, allocations: 35.98 kB / 0.7536 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.522, allocations: 128 / 0.7536 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.5221, allocations: 27.94 kB / 0.7537 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.5224, allocations: 16.92 kB / 0.7537 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.5228, allocations: 117.6 kB / 0.7538 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.5231, allocations: 0.6846 MB / 0.7545 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.837e-05/0.5232, allocations: 11.77 kB / 0.7545 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.5233, allocations: 19.44 kB / 0.7545 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.5233, allocations: 0 / 0.7545 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03795/0.5612, allocations: 1.283 MB / 0.7557 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/0.5616, allocations: 134.1 kB / 0.7559 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.92, allocations: 0 / 0.7559 GB, free: 6.398 MB / 0.6355 GB