Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001149/0.001149, allocations: 184.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0007853/0.0007853, allocations: 89.58 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.111e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7224, allocations: 116.3 MB / 0.9734 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.9387, allocations: 138.6 MB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.939, allocations: 72.73 kB / 1.109 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05518/0.9942, allocations: 17.24 MB / 1.126 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9943, allocations: 0 / 1.126 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.9943, allocations: 4 kB / 1.126 GB, free: 10.26 MB / 0.7292 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.001706/0.996, allocations: 0.9735 MB / 1.127 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.9961, allocations: 8.031 kB / 1.127 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004961/0.9966, allocations: 63.7 kB / 1.127 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.9968, allocations: 212.1 kB / 1.127 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.9969, allocations: 7.984 kB / 1.127 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/0.9972, allocations: 67.98 kB / 1.127 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001486/0.9974, allocations: 36 kB / 1.127 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.9977, allocations: 203.3 kB / 1.127 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.9977, allocations: 3.938 kB / 1.127 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.9977, allocations: 7.984 kB / 1.127 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.9978, allocations: 4 kB / 1.127 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.9991, allocations: 0.8157 MB / 1.128 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.9994, allocations: 307.3 kB / 1.128 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.9996, allocations: 128.9 kB / 1.128 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.9996, allocations: 4 kB / 1.128 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006478/1, allocations: 440.4 kB / 1.129 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 3.777e-06/1, allocations: 0 / 1.129 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001115/1.001, allocations: 420.8 kB / 1.129 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002621/1.002, allocations: 435.2 kB / 1.13 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/1.002, allocations: 241 kB / 1.13 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002331/1.002, allocations: 61.7 kB / 1.13 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/1.003, allocations: 161.2 kB / 1.13 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.003, allocations: 87 kB / 1.13 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.003, allocations: 24 kB / 1.13 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002418/1.003, allocations: 354.8 kB / 1.13 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008461/1.004, allocations: 361.2 kB / 1.131 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/1.005, allocations: 0.6342 MB / 1.131 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/1.007, allocations: 0.5078 MB / 1.132 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/1.007, allocations: 0 / 1.132 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003703/1.011, allocations: 1.278 MB / 1.133 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003255/1.011, allocations: 477.5 kB / 1.134 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/1.011, allocations: 14.44 kB / 1.134 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.104e-05/1.011, allocations: 16 kB / 1.134 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/1.011, allocations: 35.73 kB / 1.134 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/1.011, allocations: 19.92 kB / 1.134 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/1.014, allocations: 0.5308 MB / 1.134 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/1.014, allocations: 101 kB / 1.134 GB, free: 388 kB / 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.000451/1.015, allocations: 182 kB / 1.135 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007456/1.016, allocations: 400.7 kB / 1.135 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/1.016, allocations: 43.52 kB / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.14e-05/1.016, allocations: 30.45 kB / 1.135 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.016, allocations: 8.703 kB / 1.135 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.016, allocations: 8 kB / 1.135 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.016, allocations: 4 kB / 1.135 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/1.016, allocations: 285.9 kB / 1.135 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.016, allocations: 9.703 kB / 1.135 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/1.016, allocations: 23.86 kB / 1.135 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.997e-05/1.016, allocations: 8 kB / 1.135 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/1.016, allocations: 19.97 kB / 1.135 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/1.016, allocations: 8 kB / 1.135 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.016, allocations: 4 kB / 1.135 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/1.017, allocations: 0.6376 MB / 1.136 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/1.017, allocations: 104.7 kB / 1.136 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/1.017, allocations: 15.98 kB / 1.136 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/1.018, allocations: 15.92 kB / 1.136 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.018, allocations: 55.89 kB / 1.136 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/1.018, allocations: 27.98 kB / 1.136 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001669/1.018, allocations: 179.9 kB / 1.136 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.81e-07/1.018, allocations: 0 / 1.136 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008462/1.019, allocations: 188 kB / 1.137 GB, free: 13.95 MB / 0.7448 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.001604/1.02, allocations: 2.18 MB / 1.139 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002053/1.022, allocations: 1.646 MB / 1.14 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.023, allocations: 0 / 1.14 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/1.023, allocations: 176.8 kB / 1.14 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/1.023, allocations: 100.2 kB / 1.141 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/1.025, allocations: 0.558 MB / 1.141 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/1.025, allocations: 0.78 MB / 1.142 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001529/1.026, allocations: 43.28 kB / 1.142 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/1.026, allocations: 103.4 kB / 1.142 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/1.026, allocations: 0 / 1.142 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04237/1.068, allocations: 12.67 MB / 1.154 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003262/1.068, allocations: 175.5 kB / 1.155 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.625, allocations: 0 / 1.155 GB, free: 11.42 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)