Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.371/3.371, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.55 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3825, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002768/0.3853, allocations: 0.9684 MB / 1.346 GB, free: 15.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.3879, allocations: 1.478 MB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.388, allocations: 4 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.977e-05/0.388, allocations: 15.75 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.3882, allocations: 59.56 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3895, allocations: 444.4 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006214/0.3901, allocations: 495.1 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3902, allocations: 26.23 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.3905, allocations: 187.6 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.3907, allocations: 167.4 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.705e-05/0.3908, allocations: 48 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3909, allocations: 63.98 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.391, allocations: 39.84 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.3912, allocations: 175.4 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.3918, allocations: 0.4907 MB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3918, allocations: 0 / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3918, allocations: 3.938 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3918, allocations: 0 / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008628/0.3926, allocations: 0.5586 MB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3927, allocations: 12.03 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.03e-05/0.3927, allocations: 4.188 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.3927, allocations: 50.67 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.117e-05/0.3928, allocations: 32.8 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.393, allocations: 165.2 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.3931, allocations: 12.38 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.3931, allocations: 28.36 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.3933, allocations: 125.3 kB / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3933, allocations: 0 / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3934, allocations: 4 kB / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.3934, allocations: 3.984 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.3935, allocations: 59.91 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.3946, allocations: 0.8396 MB / 1.352 GB, free: 9.762 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.3948, allocations: 122.4 kB / 1.352 GB, free: 9.605 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.3949, allocations: 51.48 kB / 1.352 GB, free: 9.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.3949, allocations: 0 / 1.352 GB, free: 9.543 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/0.3952, allocations: 180.9 kB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.3952, allocations: 0 / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0004698/0.3957, allocations: 221.4 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/0.3958, allocations: 132.5 kB / 1.352 GB, free: 8.961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.3961, allocations: 256.7 kB / 1.353 GB, free: 8.695 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.3961, allocations: 37.7 kB / 1.353 GB, free: 8.652 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3962, allocations: 136.4 kB / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.3963, allocations: 27.81 kB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.3965, allocations: 93.64 kB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3966, allocations: 338.7 kB / 1.353 GB, free: 8.051 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.3969, allocations: 144.2 kB / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.3973, allocations: 223.9 kB / 1.354 GB, free: 7.652 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.3978, allocations: 368.9 kB / 1.354 GB, free: 7.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3978, allocations: 0 / 1.354 GB, free: 7.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009581/0.3987, allocations: 0.5663 MB / 1.354 GB, free: 6.633 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.3989, allocations: 134.8 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3989, allocations: 4 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3989, allocations: 4 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.399, allocations: 15.92 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.399, allocations: 7.938 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.3996, allocations: 112 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.3997, allocations: 31.97 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.3999, allocations: 150.4 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.3999, allocations: 23.86 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.4, allocations: 21.33 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4, allocations: 4 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4, allocations: 4.875 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4, allocations: 0 / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.4003, allocations: 228.6 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4003, allocations: 3.984 kB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.4003, allocations: 12 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4003, allocations: 4 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.4003, allocations: 4 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4003, allocations: 8 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.4003, allocations: 7.875 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.4007, allocations: 219.4 kB / 1.355 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.4007, allocations: 23.84 kB / 1.355 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.4007, allocations: 4 kB / 1.355 GB, free: 5.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.4008, allocations: 8 kB / 1.355 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.4008, allocations: 23.91 kB / 1.355 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4008, allocations: 4 kB / 1.355 GB, free: 5.48 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001732/0.401, allocations: 176.4 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.401, allocations: 0 / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003401/0.4013, allocations: 64 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000669/0.402, allocations: 0.7574 MB / 1.356 GB, free: 4.453 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007217/0.4027, allocations: 493.7 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4027, allocations: 4.062 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.4028, allocations: 55.92 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.4033, allocations: 64.25 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.4075, allocations: 3.018 MB / 1.36 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4079, allocations: 0.7359 MB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.408, allocations: 18.39 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.4081, allocations: 51.42 kB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of SimCode: time 1.462e-06/0.4081, allocations: 8 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.438, allocations: 6.62 MB / 1.367 GB, free: 9.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.84, allocations: 0 / 1.367 GB, free: 9.32 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.857432693999726] Failed to read output from testmodel.py, exit status != 0: 12.00675479095662 12.02376179 11.628699084 Calling exit ...