Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.462/2.462, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001472/0.001472, allocations: 184.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001179/0.001178, allocations: 96.83 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.606e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8087, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/1.039, allocations: 137.4 MB / 1.098 GB, free: 3.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/1.039, allocations: 64.97 kB / 1.098 GB, free: 2.957 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09443/1.134, allocations: 17.24 MB / 1.115 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.943e-06/1.134, allocations: 0 / 1.115 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.671e-05/1.134, allocations: 4 kB / 1.115 GB, free: 1.801 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.001618/1.135, allocations: 0.9656 MB / 1.115 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.135, allocations: 11.97 kB / 1.116 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/1.136, allocations: 63.72 kB / 1.116 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/1.136, allocations: 220.1 kB / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/1.136, allocations: 5.125 kB / 1.116 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/1.137, allocations: 63.98 kB / 1.116 GB, free: 312 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001809/1.137, allocations: 39.98 kB / 1.116 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/1.137, allocations: 206.3 kB / 1.116 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.137, allocations: 4 kB / 1.116 GB, free: 8 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/1.137, allocations: 0 / 1.116 GB, free: 8 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.137, allocations: 4 kB / 1.116 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/1.139, allocations: 0.81 MB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/1.139, allocations: 307.2 kB / 1.117 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/1.14, allocations: 132.9 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/1.14, allocations: 4 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008883/1.141, allocations: 453.5 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 4.258e-06/1.141, allocations: 0 / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001593/1.142, allocations: 421.3 kB / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002652/1.143, allocations: 435.2 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/1.143, allocations: 245 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004275/1.143, allocations: 53.7 kB / 1.119 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/1.144, allocations: 161.2 kB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/1.144, allocations: 87 kB / 1.119 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/1.144, allocations: 28 kB / 1.119 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.144, allocations: 350.8 kB / 1.119 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.146, allocations: 361.2 kB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/1.147, allocations: 0.642 MB / 1.12 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/1.151, allocations: 0.4996 MB / 1.121 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/1.151, allocations: 7.953 kB / 1.121 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006899/1.158, allocations: 1.27 MB / 1.122 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004535/1.158, allocations: 485.4 kB / 1.123 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/1.158, allocations: 8 kB / 1.123 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.799e-05/1.158, allocations: 17.06 kB / 1.123 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/1.159, allocations: 29.23 kB / 1.123 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.802e-05/1.159, allocations: 19.92 kB / 1.123 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/1.163, allocations: 0.5344 MB / 1.123 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005848/1.164, allocations: 105.3 kB / 1.123 GB, free: 7.922 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.0004792/1.164, allocations: 181.9 kB / 1.123 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001064/1.165, allocations: 401 kB / 1.124 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/1.166, allocations: 39.53 kB / 1.124 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/1.166, allocations: 38.45 kB / 1.124 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.166, allocations: 8 kB / 1.124 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.166, allocations: 4 kB / 1.124 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/1.166, allocations: 7.984 kB / 1.124 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/1.166, allocations: 286 kB / 1.124 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.166, allocations: 6.25 kB / 1.124 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.368e-05/1.166, allocations: 23.92 kB / 1.124 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/1.166, allocations: 4 kB / 1.124 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/1.167, allocations: 15.98 kB / 1.124 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/1.167, allocations: 8 kB / 1.124 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/1.167, allocations: 7.938 kB / 1.124 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/1.168, allocations: 0.6427 MB / 1.125 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/1.168, allocations: 108.7 kB / 1.125 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/1.168, allocations: 15.98 kB / 1.125 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/1.168, allocations: 4 kB / 1.125 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.168, allocations: 64.14 kB / 1.125 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/1.168, allocations: 27.98 kB / 1.125 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002494/1.169, allocations: 176.6 kB / 1.125 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.169, allocations: 0 / 1.125 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001501/1.17, allocations: 188 kB / 1.125 GB, free: 5.484 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.002073/1.172, allocations: 2.175 MB / 1.128 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003377/1.176, allocations: 1.653 MB / 1.129 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.176, allocations: 0 / 1.129 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005081/1.176, allocations: 159.8 kB / 1.129 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/1.177, allocations: 106 kB / 1.129 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/1.18, allocations: 0.5604 MB / 1.13 GB, free: 464 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/1.18, allocations: 0.7917 MB / 1.131 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002246/1.18, allocations: 43.28 kB / 1.131 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/1.181, allocations: 103.4 kB / 1.131 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of SimCode: time 1.343e-06/1.181, allocations: 4 kB / 1.131 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06463/1.245, allocations: 12.66 MB / 1.143 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003236/1.246, allocations: 173.1 kB / 1.143 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/4.247, allocations: 0 / 1.143 GB, free: 2.93 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)