Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_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.44/1.44, allocations: 252 MB / 267 MB, free: 10.98 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.001111/0.001111, allocations: 180.2 kB / 326.6 MB, free: 2.215 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.742/1.742, allocations: 205.4 MB / 0.5777 GB, free: 20.21 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.0008451/0.0008451, allocations: 91.84 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 12.72 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2153, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001597/0.2169, allocations: 1.062 MB / 0.9014 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003268/0.2173, allocations: 132.6 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.2174, allocations: 0 / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.2174, allocations: 0 / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.2175, allocations: 7.922 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.2177, allocations: 11.98 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.447e-05/0.2178, allocations: 39.86 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.238e-05/0.2179, allocations: 4 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.888e-05/0.2179, allocations: 11.92 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/0.218, allocations: 23.95 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.2181, allocations: 3.938 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.2181, allocations: 4 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.2181, allocations: 4 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.2181, allocations: 29.7 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.221e-05/0.2182, allocations: 27.94 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2182, allocations: 0 / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2182, allocations: 4 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2182, allocations: 0 / 0.9017 GB, free: 62.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005817/0.2188, allocations: 351.6 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.2189, allocations: 8.031 kB / 0.902 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.219, allocations: 34.5 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.219, allocations: 7.906 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2191, allocations: 171 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2191, allocations: 7.938 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.2192, allocations: 8 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.2194, allocations: 61.66 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2194, allocations: 0 / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2195, allocations: 0 / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2195, allocations: 4 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.2197, allocations: 55.95 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.2201, allocations: 256.9 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.2203, allocations: 82.47 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2204, allocations: 28.94 kB / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.2205, allocations: 4 kB / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.2207, allocations: 91.36 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.2207, allocations: 0 / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004248/0.2212, allocations: 129.5 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.2212, allocations: 55.41 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.2213, allocations: 117.8 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.2213, allocations: 25.7 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.2214, allocations: 92.12 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.2214, allocations: 11.75 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.2214, allocations: 0 / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.2215, allocations: 326.8 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.2216, allocations: 31.97 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.2217, allocations: 31.98 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.2219, allocations: 35.97 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2219, allocations: 0 / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002542/0.2221, allocations: 101.6 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2222, allocations: 4 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2222, allocations: 11.98 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2222, allocations: 0 / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2223, allocations: 19.98 kB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2223, allocations: 0 / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.21e-05/0.2224, allocations: 15.94 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2225, allocations: 3.938 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.708e-05/0.2225, allocations: 113.8 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.2226, allocations: 11.91 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.2226, allocations: 3.906 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2226, allocations: 0 / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2226, allocations: 0 / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2226, allocations: 192 / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.2227, allocations: 177.5 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2228, allocations: 3.984 kB / 0.9041 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.2228, allocations: 8 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2228, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2229, allocations: 7.984 kB / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2229, allocations: 7.938 kB / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2229, allocations: 0 / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2231, allocations: 117 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.2232, allocations: 89.02 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.2232, allocations: 4 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.2233, allocations: 11.98 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.2234, allocations: 7.984 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.2234, allocations: 0 / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.2234, allocations: 95.25 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2234, allocations: 0 / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00018/0.2236, allocations: 12 kB / 0.9044 GB, free: 59.28 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0004608/0.2241, allocations: 0.6631 MB / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.2243, allocations: 71.95 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2243, allocations: 0 / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.2245, allocations: 39.91 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.2247, allocations: 8 kB / 0.9052 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.2251, allocations: 180.1 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.2253, allocations: 0.677 MB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.324e-05/0.2253, allocations: 11.98 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.2254, allocations: 7.438 kB / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2254, allocations: 0 / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01093/0.2363, allocations: 1.471 MB / 0.9074 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.2365, allocations: 211.3 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.83, allocations: 0 / 0.9076 GB, free: 56 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)