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.505/1.505, allocations: 252 MB / 267.3 MB, free: 10.85 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.001003/0.001003, allocations: 180.5 kB / 327 MB, free: 2.113 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.826/1.826, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0007602/0.0007602, allocations: 96.36 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003585, allocations: 13.81 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.257, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001626/0.2587, allocations: 1.074 MB / 0.902 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003901/0.2591, allocations: 132.5 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.2592, allocations: 0 / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.2592, allocations: 0 / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2593, allocations: 11.91 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.2595, allocations: 15.98 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.2596, allocations: 35.92 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.2596, allocations: 8 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.2597, allocations: 15.92 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.2598, allocations: 19.86 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.2598, allocations: 4 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.2599, allocations: 0 / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.2599, allocations: 11.97 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.2599, allocations: 41.62 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.862e-05/0.26, allocations: 35.88 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.26, allocations: 0 / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2601, allocations: 0 / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2601, allocations: 0 / 0.9023 GB, free: 62 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.0005762/0.2607, allocations: 359.8 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.2607, allocations: 8.031 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.2608, allocations: 34.75 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.2608, allocations: 8.844 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.507e-05/0.2609, allocations: 164.4 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.2609, allocations: 384 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.2609, allocations: 12.31 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.2612, allocations: 70.16 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2612, allocations: 3.938 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2612, allocations: 0 / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2612, allocations: 4 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.2614, allocations: 55.95 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.2618, allocations: 256.9 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.2621, allocations: 82.47 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2622, allocations: 32.94 kB / 0.9033 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.2622, allocations: 3.984 kB / 0.9034 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.2624, allocations: 91.28 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.2625, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000424/0.2629, allocations: 125.6 kB / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2629, allocations: 55.41 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.263, allocations: 113.8 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.263, allocations: 25.7 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.2631, allocations: 95.98 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.2631, allocations: 11.78 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.2631, allocations: 0 / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.2632, allocations: 322.8 kB / 0.9042 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.2633, allocations: 35.97 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.2634, allocations: 31.98 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.2636, allocations: 72.75 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2636, allocations: 0 / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002547/0.2639, allocations: 101.6 kB / 0.9044 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2639, allocations: 8 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2639, allocations: 4 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.264, allocations: 0 / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2641, allocations: 19.92 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2641, allocations: 0 / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-05/0.2642, allocations: 19.89 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2642, allocations: 0 / 0.9044 GB, free: 59.58 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.225e-05/0.2643, allocations: 121.8 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.2643, allocations: 7.984 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.2643, allocations: 3.906 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2643, allocations: 3.938 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2643, allocations: 0 / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2644, allocations: 0 / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.267e-05/0.2645, allocations: 173.6 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2645, allocations: 0 / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.2645, allocations: 11.98 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2645, allocations: 4 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2646, allocations: 0 / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2646, allocations: 4 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2646, allocations: 0 / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.2648, allocations: 128.9 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.2649, allocations: 85.09 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2649, allocations: 8 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.265, allocations: 11.98 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.2651, allocations: 7.984 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.2651, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.2651, allocations: 87.28 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2651, allocations: 0 / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002006/0.2653, allocations: 12 kB / 0.9051 GB, free: 58.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005023/0.2658, allocations: 0.6708 MB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.2661, allocations: 75.94 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2661, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2662, allocations: 35.98 kB / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.2665, allocations: 19.11 kB / 0.9059 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.2669, allocations: 173.8 kB / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.2671, allocations: 0.6813 MB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.2671, allocations: 7.938 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.2672, allocations: 11.44 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.2672, allocations: 0 / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009775/0.277, allocations: 1.463 MB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.2771, allocations: 229.7 kB / 0.9084 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.914, allocations: 4 kB / 0.9084 GB, free: 55.5 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)