Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.583/1.583, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 187.1 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.4 MB / 0.5777 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007391/0.0007392, allocations: 82.47 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 9.562 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2172, allocations: 106.3 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001468/0.2187, allocations: 0.9977 MB / 0.9013 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003512/0.2191, allocations: 181.7 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.2191, allocations: 0 / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.2191, allocations: 0 / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.889e-05/0.2192, allocations: 7.922 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.2193, allocations: 15.98 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.2194, allocations: 15.94 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.569e-05/0.2195, allocations: 7.984 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.2195, allocations: 11.94 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.2196, allocations: 4 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2196, allocations: 0 / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.2196, allocations: 0 / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2196, allocations: 11.92 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.2197, allocations: 25.7 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.212e-05/0.2197, allocations: 19.97 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2198, allocations: 4 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2198, allocations: 0 / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2198, allocations: 0 / 0.9016 GB, free: 62.44 MB / 0.6042 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.000413/0.2202, allocations: 327.4 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2202, allocations: 12.02 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.2203, allocations: 34.56 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.2203, allocations: 0 / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2204, allocations: 183.1 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2204, allocations: 8 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.2205, allocations: 3.938 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.992e-05/0.2205, allocations: 37.69 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2206, allocations: 0 / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2206, allocations: 3.938 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.2206, allocations: 0 / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.2206, allocations: 4 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.2208, allocations: 161.6 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.436e-05/0.2208, allocations: 30.61 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.2209, allocations: 12.92 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.2209, allocations: 0 / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.221, allocations: 51.34 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.221, allocations: 0 / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001599/0.2212, allocations: 53.69 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.2212, allocations: 55.41 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.2213, allocations: 101.8 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.2213, allocations: 25.7 kB / 0.9027 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.2214, allocations: 88.14 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2214, allocations: 3.906 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.2214, allocations: 0 / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.2214, allocations: 318.8 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.2215, allocations: 8 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.2215, allocations: 25.66 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.2215, allocations: 4 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2215, allocations: 0 / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.938e-05/0.2216, allocations: 49.69 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2216, allocations: 4 kB / 0.9031 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2216, allocations: 0 / 0.9031 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2216, allocations: 4 kB / 0.9031 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.2217, allocations: 12.44 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2217, allocations: 0 / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.2218, allocations: 16.03 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-06/0.2218, allocations: 0 / 0.9032 GB, free: 60.6 MB / 0.6042 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 () * Number of clocked 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 5.759e-05/0.2218, allocations: 113.8 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.2219, allocations: 0 / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.2219, allocations: 15.47 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2219, allocations: 4 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2219, allocations: 7.875 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2219, allocations: 0 / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.222, allocations: 165.5 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.222, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-06/0.222, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.222, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.222, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.222, allocations: 4 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2221, allocations: 3.984 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.2221, allocations: 73.06 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.2222, allocations: 85.06 kB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.2222, allocations: 4 kB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.2222, allocations: 7.984 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.2223, allocations: 4 kB / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.2223, allocations: 0 / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.363e-05/0.2223, allocations: 87.27 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2223, allocations: 0 / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000177/0.2225, allocations: 4 kB / 0.9037 GB, free: 59.93 MB / 0.6042 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 () * Number of clocked 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.0002543/0.2228, allocations: 0.6124 MB / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.913e-05/0.2228, allocations: 19.98 kB / 0.9043 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2228, allocations: 0 / 0.9043 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.433e-05/0.2229, allocations: 8 kB / 0.9043 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.2231, allocations: 8 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.2236, allocations: 377.3 kB / 0.9047 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.2237, allocations: 0.677 MB / 0.9054 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.028e-05/0.2237, allocations: 256 / 0.9054 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.2238, allocations: 15.44 kB / 0.9054 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2238, allocations: 4 kB / 0.9054 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01081/0.2346, allocations: 1.125 MB / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.2348, allocations: 213.6 kB / 0.9067 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/1.769, allocations: 0 / 0.9067 GB, free: 56.92 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)