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.977/1.977, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001027/0.001027, allocations: 178 kB / 371.6 MB, free: 3.391 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.692/1.692, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009729/0.0009728, allocations: 91.5 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4e-05, allocations: 4 kB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2815, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9246/1.206, allocations: 139.2 MB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.206, allocations: 69.94 kB / 1.116 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04623/1.253, allocations: 17.3 MB / 1.133 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/1.253, allocations: 0 / 1.133 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.163e-05/1.253, allocations: 4 kB / 1.133 GB, free: 34.74 MB / 0.7448 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.0007926/1.254, allocations: 0.9631 MB / 1.134 GB, free: 33.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.254, allocations: 8.031 kB / 1.134 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.522e-05/1.254, allocations: 41 kB / 1.134 GB, free: 33.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/1.254, allocations: 70.61 kB / 1.134 GB, free: 33.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/1.254, allocations: 214.9 kB / 1.134 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/1.254, allocations: 34.2 kB / 1.134 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/1.254, allocations: 68.25 kB / 1.134 GB, free: 33.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/1.255, allocations: 216.5 kB / 1.134 GB, free: 33.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/1.255, allocations: 0 / 1.134 GB, free: 33.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/1.255, allocations: 8.5 kB / 1.134 GB, free: 33.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.255, allocations: 0 / 1.134 GB, free: 33.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.73e-05/1.255, allocations: 67.14 kB / 1.134 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/1.256, allocations: 0.8495 MB / 1.135 GB, free: 32.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/1.256, allocations: 321.7 kB / 1.136 GB, free: 32.15 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/1.256, allocations: 136 kB / 1.136 GB, free: 31.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/1.256, allocations: 11.98 kB / 1.136 GB, free: 31.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000519/1.256, allocations: 455.7 kB / 1.136 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 1.963e-06/1.256, allocations: 0 / 1.136 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0007908/1.257, allocations: 453.8 kB / 1.137 GB, free: 31.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/1.257, allocations: 443 kB / 1.137 GB, free: 30.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/1.258, allocations: 263.2 kB / 1.137 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/1.258, allocations: 68.06 kB / 1.137 GB, free: 30.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/1.258, allocations: 157.6 kB / 1.138 GB, free: 30.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.355e-05/1.258, allocations: 91.73 kB / 1.138 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.258, allocations: 34.95 kB / 1.138 GB, free: 30.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.258, allocations: 357.8 kB / 1.138 GB, free: 29.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007759/1.259, allocations: 406.5 kB / 1.138 GB, free: 29.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/1.26, allocations: 0.679 MB / 1.139 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/1.261, allocations: 0.8175 MB / 1.14 GB, free: 28.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/1.261, allocations: 0 / 1.14 GB, free: 28.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002522/1.263, allocations: 1.683 MB / 1.141 GB, free: 27.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000239/1.263, allocations: 475.1 kB / 1.142 GB, free: 26.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.264, allocations: 13.48 kB / 1.142 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/1.264, allocations: 16.8 kB / 1.142 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/1.264, allocations: 40.58 kB / 1.142 GB, free: 26.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/1.264, allocations: 18.56 kB / 1.142 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.266, allocations: 0.5378 MB / 1.143 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.266, allocations: 99.75 kB / 1.143 GB, free: 25.96 MB / 0.7448 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.0002573/1.266, allocations: 200.8 kB / 1.143 GB, free: 25.78 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/1.267, allocations: 45.97 kB / 1.143 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.508e-05/1.267, allocations: 40.08 kB / 1.143 GB, free: 25.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.267, allocations: 8 kB / 1.143 GB, free: 25.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/1.267, allocations: 5.297 kB / 1.143 GB, free: 25.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.267, allocations: 6.672 kB / 1.143 GB, free: 25.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/1.267, allocations: 327.5 kB / 1.143 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.267, allocations: 4.656 kB / 1.143 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/1.267, allocations: 22.92 kB / 1.143 GB, free: 25.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/1.267, allocations: 5.141 kB / 1.143 GB, free: 25.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/1.267, allocations: 23.75 kB / 1.143 GB, free: 25.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/1.267, allocations: 5.547 kB / 1.143 GB, free: 25.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.267, allocations: 8.5 kB / 1.143 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/1.268, allocations: 0.6684 MB / 1.144 GB, free: 24.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/1.268, allocations: 111.5 kB / 1.144 GB, free: 24.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/1.268, allocations: 19.34 kB / 1.144 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/1.268, allocations: 10.7 kB / 1.144 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.268, allocations: 61.89 kB / 1.144 GB, free: 24.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/1.268, allocations: 37.27 kB / 1.144 GB, free: 24.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001618/1.269, allocations: 182.5 kB / 1.144 GB, free: 24.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.269, allocations: 0 / 1.144 GB, free: 24.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005985/1.269, allocations: 202.5 kB / 1.145 GB, free: 24.18 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.001182/1.27, allocations: 2.208 MB / 1.147 GB, free: 22.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.272, allocations: 1.734 MB / 1.148 GB, free: 20.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.272, allocations: 0 / 1.148 GB, free: 20.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/1.272, allocations: 177.8 kB / 1.149 GB, free: 20.35 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/1.273, allocations: 107.8 kB / 1.149 GB, free: 20.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/1.274, allocations: 0.5991 MB / 1.149 GB, free: 19.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/1.275, allocations: 0.7815 MB / 1.15 GB, free: 18.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001241/1.275, allocations: 46.58 kB / 1.15 GB, free: 18.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/1.275, allocations: 106.6 kB / 1.15 GB, free: 18.92 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/1.275, allocations: 0 / 1.15 GB, free: 18.92 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/1.32, allocations: 13.79 MB / 1.164 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/1.32, allocations: 163.7 kB / 1.164 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.694, allocations: 2.531 kB / 1.164 GB, free: 10.89 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)