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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01089/0.01089, allocations: 106.8 kB / 15.05 MB, free: 5.934 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.001175/0.001174, allocations: 185.3 kB / 15.94 MB, free: 5.898 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 2.161/2.161, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.326/2.326, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004914, allocations: 16 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6866, allocations: 98.71 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.9232, allocations: 124.3 MB / 0.8049 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.9236, allocations: 63.97 kB / 0.8049 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003554/0.9271, allocations: 0.8969 MB / 0.8058 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9272, allocations: 4 kB / 0.8058 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.9272, allocations: 0 / 0.8058 GB, free: 1.012 MB / 0.6198 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.0006222/0.9278, allocations: 367.2 kB / 0.8061 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.9279, allocations: 8.031 kB / 0.8062 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.928, allocations: 38.55 kB / 0.8062 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.928, allocations: 7.906 kB / 0.8062 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.9282, allocations: 171 kB / 0.8064 GB, free: 344 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.9282, allocations: 0 / 0.8064 GB, free: 344 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.9282, allocations: 11.94 kB / 0.8064 GB, free: 332 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.9284, allocations: 53.66 kB / 0.8064 GB, free: 272 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.9284, allocations: 0 / 0.8064 GB, free: 272 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.9284, allocations: 4 kB / 0.8064 GB, free: 268 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9284, allocations: 7.938 kB / 0.8064 GB, free: 260 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.904e-05/0.9285, allocations: 19.98 kB / 0.8065 GB, free: 240 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.9291, allocations: 276.8 kB / 0.8067 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.9292, allocations: 42.58 kB / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.9292, allocations: 3.938 kB / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.9295, allocations: 79.44 kB / 0.8068 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.9295, allocations: 0 / 0.8068 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002885/0.9298, allocations: 85.66 kB / 0.8069 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.9298, allocations: 55.36 kB / 0.807 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.93, allocations: 109 kB / 0.8071 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.93, allocations: 25.7 kB / 0.8071 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.9301, allocations: 96.03 kB / 0.8072 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.9301, allocations: 11.91 kB / 0.8072 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.9301, allocations: 3.938 kB / 0.8072 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.9302, allocations: 318.8 kB / 0.8075 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.9303, allocations: 15.98 kB / 0.8075 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.9304, allocations: 26.58 kB / 0.8076 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.187e-05/0.9304, allocations: 19.98 kB / 0.8076 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9304, allocations: 4 kB / 0.8076 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001855/0.9306, allocations: 85.52 kB / 0.8077 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.9307, allocations: 8 kB / 0.8077 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.9307, allocations: 0 / 0.8077 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.9307, allocations: 0 / 0.8077 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.9308, allocations: 7.938 kB / 0.8077 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.9308, allocations: 4 kB / 0.8077 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.931, allocations: 16 kB / 0.8077 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.931, allocations: 8 kB / 0.8077 GB, free: 14.83 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 () * 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.0001235/0.9311, allocations: 117.8 kB / 0.8078 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.9312, allocations: 7.906 kB / 0.8078 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.9312, allocations: 12.36 kB / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.9312, allocations: 0 / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.9313, allocations: 0 / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9313, allocations: 192 / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.9315, allocations: 181.6 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9315, allocations: 3.938 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.9315, allocations: 4 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.9316, allocations: 4 kB / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.9316, allocations: 0 / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9316, allocations: 0 / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9316, allocations: 0 / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.9318, allocations: 105.6 kB / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.9319, allocations: 92.98 kB / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.9319, allocations: 0 / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.9321, allocations: 19.98 kB / 0.8082 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.9322, allocations: 7.984 kB / 0.8082 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.9322, allocations: 4 kB / 0.8082 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.6e-05/0.9323, allocations: 95.33 kB / 0.8083 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9323, allocations: 0 / 0.8083 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002492/0.9325, allocations: 12 kB / 0.8083 GB, free: 14.07 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 () * 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.0005293/0.9331, allocations: 0.6435 MB / 0.809 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.9332, allocations: 39.98 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9333, allocations: 3.938 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.9334, allocations: 23.98 kB / 0.809 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.9337, allocations: 21.52 kB / 0.809 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.9348, allocations: 0.7827 MB / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.935, allocations: 0.6848 MB / 0.8105 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.791e-05/0.9351, allocations: 4 kB / 0.8105 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.9352, allocations: 15.44 kB / 0.8105 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/0.9352, allocations: 0 / 0.8105 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.9548, allocations: 1.583 MB / 0.812 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/0.9552, allocations: 185.2 kB / 0.8122 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.231, allocations: 3.938 kB / 0.8122 GB, free: 10.03 MB / 0.6355 GB