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.Sources.Validation.Pulse.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.Sources.Validation.Pulse,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.986/3.986, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.551e-05/5.563e-05, allocations: 3.531 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2081, allocations: 98.72 MB / 0.6347 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2225/0.4306, allocations: 124.1 MB / 0.7559 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.431, allocations: 75.94 kB / 0.756 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001879/0.4329, allocations: 0.5596 MB / 0.7565 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4329, allocations: 0 / 0.7565 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4329, allocations: 0 / 0.7565 GB, free: 4.961 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004056/0.4333, allocations: 346.4 kB / 0.7569 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4334, allocations: 8.031 kB / 0.7569 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.4334, allocations: 30.56 kB / 0.7569 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.4335, allocations: 4 kB / 0.7569 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4336, allocations: 167 kB / 0.7571 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4336, allocations: 0 / 0.7571 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.4337, allocations: 7.922 kB / 0.7571 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.691e-05/0.4338, allocations: 29.7 kB / 0.7571 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4338, allocations: 8 kB / 0.7571 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.4338, allocations: 0 / 0.7571 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4338, allocations: 0 / 0.7571 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.4339, allocations: 8 kB / 0.7571 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.4341, allocations: 165.6 kB / 0.7573 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.975e-05/0.4342, allocations: 26.58 kB / 0.7573 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.4342, allocations: 4.859 kB / 0.7573 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.4342, allocations: 8.062 kB / 0.7573 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.4344, allocations: 47.41 kB / 0.7574 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.4344, allocations: 4 kB / 0.7574 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001692/0.4346, allocations: 57.52 kB / 0.7574 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4346, allocations: 51.41 kB / 0.7575 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.4347, allocations: 93 kB / 0.7576 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.4347, allocations: 29.7 kB / 0.7576 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.4348, allocations: 88.14 kB / 0.7577 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.4348, allocations: 0 / 0.7577 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.4348, allocations: 0 / 0.7577 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.435, allocations: 318.8 kB / 0.758 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.435, allocations: 11.94 kB / 0.758 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/0.435, allocations: 21.72 kB / 0.758 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.568e-05/0.4351, allocations: 4 kB / 0.758 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4351, allocations: 0 / 0.758 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001076/0.4352, allocations: 57.53 kB / 0.7581 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4352, allocations: 8 kB / 0.7581 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4353, allocations: 0 / 0.7581 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4353, allocations: 0 / 0.7581 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.4353, allocations: 4 kB / 0.7581 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4354, allocations: 3.984 kB / 0.7581 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.4355, allocations: 4 kB / 0.7581 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4355, allocations: 4 kB / 0.7581 GB, free: 3.145 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.848e-05/0.4356, allocations: 116.9 kB / 0.7582 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.4356, allocations: 0 / 0.7582 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.4356, allocations: 7.5 kB / 0.7582 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4356, allocations: 3.984 kB / 0.7582 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4357, allocations: 0 / 0.7582 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4357, allocations: 0 / 0.7582 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.4358, allocations: 161.6 kB / 0.7584 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4358, allocations: 4 kB / 0.7584 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-06/0.4358, allocations: 0 / 0.7584 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.4359, allocations: 4 kB / 0.7584 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.4359, allocations: 4 kB / 0.7584 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4359, allocations: 0 / 0.7584 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4359, allocations: 0 / 0.7584 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.436, allocations: 77.08 kB / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.4361, allocations: 85 kB / 0.7585 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.4362, allocations: 0 / 0.7585 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.4362, allocations: 4 kB / 0.7585 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.4363, allocations: 16.34 kB / 0.7586 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.4363, allocations: 0 / 0.7586 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.4364, allocations: 87.27 kB / 0.7586 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4364, allocations: 0 / 0.7586 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000222/0.4366, allocations: 4 kB / 0.7586 GB, free: 2.488 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004132/0.437, allocations: 0.6163 MB / 0.7592 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.4372, allocations: 19.94 kB / 0.7593 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4372, allocations: 3.938 kB / 0.7593 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.4372, allocations: 8 kB / 0.7593 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.4374, allocations: 12.92 kB / 0.7593 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.4378, allocations: 92.41 kB / 0.7594 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.438, allocations: 0.6809 MB / 0.76 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.4381, allocations: 4.062 kB / 0.76 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.4381, allocations: 15.44 kB / 0.7601 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.4381, allocations: 0 / 0.7601 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.4566, allocations: 1.111 MB / 0.7611 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/0.457, allocations: 176.2 kB / 0.7613 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.786, allocations: 0 / 0.7613 GB, free: 15.68 MB / 0.6511 GB