Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Pulse,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001264/0.001264, allocations: 181.1 kB / 377.1 MB, free: 1.523 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.689/1.689, allocations: 205.4 MB / 0.6366 GB, free: 9.559 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.0008907/0.0008906, allocations: 85.3 kB / 0.7509 GB, free: 62.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 8 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3133, allocations: 116.3 MB / 0.9884 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9084/1.222, allocations: 139.3 MB / 1.124 GB, free: 35.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.222, allocations: 76.42 kB / 1.125 GB, free: 35.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05002/1.272, allocations: 17.36 MB / 1.142 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.315e-06/1.272, allocations: 0.75 kB / 1.142 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.354e-05/1.272, allocations: 4 kB / 1.142 GB, free: 23.32 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.00155/1.274, allocations: 0.9977 MB / 1.143 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.274, allocations: 16.02 kB / 1.143 GB, free: 22.21 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.873e-05/1.274, allocations: 42.88 kB / 1.143 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005093/1.274, allocations: 73.05 kB / 1.143 GB, free: 22.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/1.275, allocations: 214.2 kB / 1.143 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.635e-05/1.275, allocations: 36.91 kB / 1.143 GB, free: 21.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/1.275, allocations: 72.5 kB / 1.143 GB, free: 21.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/1.275, allocations: 202.8 kB / 1.143 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.275, allocations: 7.938 kB / 1.143 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/1.275, allocations: 8.344 kB / 1.143 GB, free: 21.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/1.275, allocations: 0 / 1.143 GB, free: 21.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/1.276, allocations: 72.53 kB / 1.143 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/1.277, allocations: 0.8424 MB / 1.144 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/1.277, allocations: 329.5 kB / 1.144 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/1.277, allocations: 9.234 kB / 1.144 GB, free: 20.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005422/1.278, allocations: 462.8 kB / 1.145 GB, free: 19.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.234e-06/1.278, allocations: 0 / 1.145 GB, free: 19.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.00111/1.279, allocations: 0.5579 MB / 1.145 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.279, allocations: 440.1 kB / 1.146 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/1.279, allocations: 258.2 kB / 1.146 GB, free: 18.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/1.28, allocations: 67.06 kB / 1.146 GB, free: 18.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/1.28, allocations: 157.5 kB / 1.146 GB, free: 18.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.479e-05/1.28, allocations: 96.59 kB / 1.146 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.28, allocations: 32.75 kB / 1.146 GB, free: 18.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.452e-05/1.28, allocations: 357.4 kB / 1.147 GB, free: 18.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007855/1.281, allocations: 419.2 kB / 1.147 GB, free: 17.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008591/1.282, allocations: 0.6984 MB / 1.148 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007801/1.282, allocations: 0.8282 MB / 1.149 GB, free: 16.03 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.282, allocations: 4 kB / 1.149 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002278/1.285, allocations: 1.703 MB / 1.15 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000189/1.285, allocations: 474.9 kB / 1.151 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.285, allocations: 16.98 kB / 1.151 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/1.285, allocations: 16.84 kB / 1.151 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/1.285, allocations: 35.75 kB / 1.151 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/1.285, allocations: 18.56 kB / 1.151 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/1.287, allocations: 0.5435 MB / 1.151 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/1.287, allocations: 96.48 kB / 1.151 GB, free: 13.28 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 () * Number of clocked 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.0003008/1.288, allocations: 230.4 kB / 1.152 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/1.288, allocations: 42.25 kB / 1.152 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/1.288, allocations: 34.75 kB / 1.152 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/1.288, allocations: 8 kB / 1.152 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.288, allocations: 8.938 kB / 1.152 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/1.288, allocations: 5.641 kB / 1.152 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/1.288, allocations: 326.6 kB / 1.152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.288, allocations: 7.953 kB / 1.152 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/1.288, allocations: 16.7 kB / 1.152 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.288, allocations: 12 kB / 1.152 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/1.288, allocations: 17.44 kB / 1.152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.288, allocations: 12.64 kB / 1.152 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.288, allocations: 4 kB / 1.152 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/1.289, allocations: 0.6826 MB / 1.153 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/1.289, allocations: 107.2 kB / 1.153 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/1.289, allocations: 17.23 kB / 1.153 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.289, allocations: 10.53 kB / 1.153 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/1.289, allocations: 64.91 kB / 1.153 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/1.289, allocations: 27.61 kB / 1.153 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001436/1.29, allocations: 188.2 kB / 1.153 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.29, allocations: 0 / 1.153 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006213/1.29, allocations: 204.5 kB / 1.153 GB, free: 11.23 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 () * Number of clocked 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.001001/1.291, allocations: 2.219 MB / 1.156 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001634/1.293, allocations: 1.742 MB / 1.157 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.293, allocations: 8.75 kB / 1.157 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/1.293, allocations: 184.2 kB / 1.157 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/1.294, allocations: 107.6 kB / 1.158 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/1.296, allocations: 7.83 MB / 1.165 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/1.297, allocations: 0.7887 MB / 1.166 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001602/1.297, allocations: 47.28 kB / 1.166 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/1.297, allocations: 102.1 kB / 1.166 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/1.297, allocations: 0 / 1.166 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/1.328, allocations: 13.61 MB / 1.179 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/1.328, allocations: 184 kB / 1.18 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.676, allocations: 3.938 kB / 1.18 GB, free: 1.469 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)