Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 176.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009627/0.0009628, allocations: 84.2 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.087e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2055, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6765/0.8821, allocations: 131.5 MB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.8823, allocations: 72.08 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001315/0.8837, allocations: 0.5647 MB / 1.014 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8837, allocations: 3.938 kB / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.8837, allocations: 0 / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003534/0.8841, allocations: 334.4 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.8841, allocations: 12.03 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.8842, allocations: 0 / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.8843, allocations: 178.9 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.8843, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.8843, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.412e-05/0.8844, allocations: 4 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.498e-05/0.8845, allocations: 35.95 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.8845, allocations: 0 / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.8845, allocations: 0 / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.8845, allocations: 0 / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.8846, allocations: 141.2 kB / 1.015 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.8847, allocations: 29.73 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.8847, allocations: 8.359 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.8847, allocations: 4 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.197e-05/0.8848, allocations: 50.78 kB / 1.015 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8849, allocations: 0 / 1.015 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001311/0.885, allocations: 48.47 kB / 1.015 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.885, allocations: 54.14 kB / 1.015 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.8851, allocations: 103.7 kB / 1.015 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.8851, allocations: 25.7 kB / 1.015 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.8852, allocations: 83.77 kB / 1.015 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.8852, allocations: 4 kB / 1.015 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.8852, allocations: 0 / 1.015 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.8853, allocations: 318.8 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.8853, allocations: 7.375 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.8854, allocations: 17.22 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.586e-05/0.8854, allocations: 0 / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.8854, allocations: 4 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.862e-05/0.8855, allocations: 60.61 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.8855, allocations: 4 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.8855, allocations: 0 / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.8855, allocations: 0 / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.416e-05/0.8856, allocations: 4 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8856, allocations: 0 / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.8857, allocations: 11.98 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.8857, allocations: 0 / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 7.377e-05/0.8858, allocations: 109 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.129e-05/0.8858, allocations: 54.45 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.8858, allocations: 0 / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.8859, allocations: 7.375 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.8859, allocations: 3.938 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8859, allocations: 0 / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.8859, allocations: 3.938 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.886, allocations: 133.3 kB / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.886, allocations: 11.94 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-06/0.886, allocations: 3.938 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.886, allocations: 0 / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.886, allocations: 4 kB / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.8861, allocations: 0 / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8861, allocations: 0 / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.86e-05/0.8861, allocations: 75.47 kB / 1.016 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.8862, allocations: 81.06 kB / 1.016 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.8862, allocations: 0 / 1.016 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.8863, allocations: 7.984 kB / 1.016 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.8863, allocations: 8 kB / 1.016 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.8863, allocations: 0 / 1.016 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.8864, allocations: 86.81 kB / 1.016 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8864, allocations: 0 / 1.016 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001718/0.8865, allocations: 4 kB / 1.016 GB, free: 2.934 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000346/0.8869, allocations: 0.6138 MB / 1.017 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.896e-05/0.887, allocations: 19.28 kB / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.887, allocations: 0 / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.887, allocations: 11.38 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.8872, allocations: 9.859 kB / 1.017 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.8875, allocations: 88.84 kB / 1.017 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.8877, allocations: 0.6807 MB / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.8878, allocations: 7.969 kB / 1.018 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.8878, allocations: 14.88 kB / 1.018 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.8878, allocations: 0 / 1.018 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.9066, allocations: 0.8066 MB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.9068, allocations: 172.7 kB / 1.019 GB, free: 440 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.398/2.305, allocations: 1.719 kB / 1.019 GB, free: 440 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)