Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.85/2.85, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 172.9 kB / 361.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.158/3.158, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001358/0.001357, allocations: 88.8 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.223e-05, allocations: 4 kB / 0.8519 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32/1.32, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4066/1.727, allocations: 137.6 MB / 1.099 GB, free: 2.117 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005142/1.728, allocations: 74.86 kB / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09222/1.82, allocations: 17.25 MB / 1.116 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.576e-06/1.82, allocations: 0 / 1.116 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.168e-05/1.82, allocations: 4 kB / 1.116 GB, free: 0.8828 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002905/1.823, allocations: 0.9608 MB / 1.117 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 9.401e-05/1.823, allocations: 8.031 kB / 1.117 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007948/1.824, allocations: 60.75 kB / 1.117 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/1.824, allocations: 216.1 kB / 1.117 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/1.824, allocations: 7.984 kB / 1.117 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006922/1.825, allocations: 67.98 kB / 1.117 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002677/1.825, allocations: 40 kB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/1.826, allocations: 204.4 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.826, allocations: 0 / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/1.826, allocations: 7.984 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/1.826, allocations: 4 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002842/1.829, allocations: 0.8061 MB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/1.829, allocations: 311.2 kB / 1.118 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/1.83, allocations: 132.9 kB / 1.119 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/1.83, allocations: 4 kB / 1.119 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/1.831, allocations: 446.2 kB / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 6.492e-06/1.831, allocations: 0 / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001882/1.833, allocations: 420.8 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003051/1.833, allocations: 431.2 kB / 1.12 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005535/1.834, allocations: 241 kB / 1.12 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005929/1.834, allocations: 65.69 kB / 1.12 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/1.835, allocations: 161.2 kB / 1.12 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/1.835, allocations: 79.02 kB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/1.835, allocations: 32 kB / 1.12 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.835, allocations: 354.8 kB / 1.121 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/1.837, allocations: 365.2 kB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/1.838, allocations: 0.6342 MB / 1.122 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00379/1.842, allocations: 0.504 MB / 1.122 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/1.842, allocations: 0 / 1.122 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006759/1.849, allocations: 1.282 MB / 1.123 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004386/1.85, allocations: 474.5 kB / 1.124 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/1.85, allocations: 15.98 kB / 1.124 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.656e-05/1.85, allocations: 16 kB / 1.124 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.85, allocations: 31.86 kB / 1.124 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.729e-05/1.85, allocations: 15.94 kB / 1.124 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004801/1.855, allocations: 0.5347 MB / 1.124 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004787/1.855, allocations: 102.5 kB / 1.124 GB, free: 7.023 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0005403/1.856, allocations: 190.4 kB / 1.125 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001201/1.857, allocations: 392.7 kB / 1.125 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/1.857, allocations: 43.53 kB / 1.125 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/1.857, allocations: 35.16 kB / 1.125 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/1.857, allocations: 8 kB / 1.125 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.857, allocations: 8 kB / 1.125 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/1.857, allocations: 9.578 kB / 1.125 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006531/1.858, allocations: 286 kB / 1.125 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/1.858, allocations: 4 kB / 1.125 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/1.858, allocations: 19.88 kB / 1.125 GB, free: 6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.8e-05/1.858, allocations: 8 kB / 1.125 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/1.858, allocations: 15.98 kB / 1.125 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/1.858, allocations: 8 kB / 1.125 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-05/1.858, allocations: 15.2 kB / 1.125 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009788/1.859, allocations: 0.6374 MB / 1.126 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/1.86, allocations: 108.7 kB / 1.126 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/1.86, allocations: 11.98 kB / 1.126 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/1.86, allocations: 11.98 kB / 1.126 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/1.86, allocations: 59.83 kB / 1.126 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/1.86, allocations: 27.98 kB / 1.126 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002047/1.86, allocations: 172.6 kB / 1.126 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.31e-07/1.86, allocations: 0 / 1.126 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001747/1.862, allocations: 192 kB / 1.127 GB, free: 4.578 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.00212/1.864, allocations: 2.178 MB / 1.129 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003674/1.868, allocations: 1.649 MB / 1.13 GB, free: 456 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.868, allocations: 0 / 1.13 GB, free: 456 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004991/1.868, allocations: 164.8 kB / 1.131 GB, free: 292 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.87, allocations: 105.6 kB / 1.131 GB, free: 188 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/1.872, allocations: 0.5598 MB / 1.131 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/1.873, allocations: 0.7812 MB / 1.132 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002294/1.873, allocations: 43.28 kB / 1.132 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/1.873, allocations: 111.4 kB / 1.132 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of SimCode: time 9.11e-07/1.873, allocations: 0 / 1.132 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/2.034, allocations: 12.66 MB / 1.144 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003818/2.034, allocations: 158.8 kB / 1.145 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.176/6.21, allocations: 0 / 1.145 GB, free: 2.082 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)