Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001642/0.001642, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002144/0.002144, allocations: 215 kB / 20.13 MB, free: 2.949 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.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002164/0.002164, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002434/1.059, allocations: 0.9742 MB / 1.28 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002475/1.061, allocations: 1.476 MB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/1.061, allocations: 1.875 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.207e-05/1.061, allocations: 13.66 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001884/1.062, allocations: 60.53 kB / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/1.063, allocations: 445.6 kB / 1.282 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009494/1.064, allocations: 494.7 kB / 1.282 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/1.064, allocations: 30.53 kB / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/1.064, allocations: 179.1 kB / 1.283 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/1.065, allocations: 171.5 kB / 1.283 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/1.065, allocations: 53.88 kB / 1.283 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/1.065, allocations: 62.55 kB / 1.283 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/1.065, allocations: 37.91 kB / 1.283 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/1.065, allocations: 167.6 kB / 1.283 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007505/1.066, allocations: 0.4952 MB / 1.283 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.066, allocations: 0.9688 kB / 1.283 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.066, allocations: 0 / 1.283 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.066, allocations: 0 / 1.283 GB, free: 9.016 MB / 0.9981 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.00108/1.067, allocations: 0.633 MB / 1.284 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.067, allocations: 10.78 kB / 1.284 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.607e-05/1.067, allocations: 5.906 kB / 1.284 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/1.067, allocations: 39.02 kB / 1.284 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/1.067, allocations: 32.31 kB / 1.284 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/1.068, allocations: 224.6 kB / 1.284 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/1.068, allocations: 15.97 kB / 1.284 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/1.068, allocations: 24.14 kB / 1.284 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/1.068, allocations: 133.3 kB / 1.285 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.068, allocations: 0 / 1.285 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/1.068, allocations: 7.625 kB / 1.285 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/1.068, allocations: 1.594 kB / 1.285 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/1.068, allocations: 56.02 kB / 1.285 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/1.07, allocations: 0.8785 MB / 1.285 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/1.07, allocations: 110.6 kB / 1.286 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-05/1.07, allocations: 56.44 kB / 1.286 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/1.07, allocations: 1.062 kB / 1.286 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/1.07, allocations: 171.9 kB / 1.286 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/1.07, allocations: 1.344 kB / 1.286 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0005723/1.071, allocations: 225.7 kB / 1.286 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.071, allocations: 137.1 kB / 1.286 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/1.071, allocations: 241 kB / 1.286 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/1.071, allocations: 37.8 kB / 1.286 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/1.071, allocations: 134.8 kB / 1.287 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/1.071, allocations: 37.09 kB / 1.287 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.072, allocations: 97.53 kB / 1.287 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.072, allocations: 329 kB / 1.287 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/1.072, allocations: 145.2 kB / 1.287 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/1.072, allocations: 228.1 kB / 1.287 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/1.073, allocations: 372.5 kB / 1.288 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.073, allocations: 1.344 kB / 1.288 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001101/1.074, allocations: 0.5538 MB / 1.288 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/1.074, allocations: 137.9 kB / 1.288 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.074, allocations: 1.844 kB / 1.288 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.074, allocations: 9 kB / 1.288 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/1.074, allocations: 23.69 kB / 1.288 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/1.074, allocations: 12.66 kB / 1.288 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/1.075, allocations: 103 kB / 1.289 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/1.075, allocations: 31.81 kB / 1.289 GB, free: 5.066 MB / 0.9981 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.0002316/1.075, allocations: 151.4 kB / 1.289 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/1.075, allocations: 23 kB / 1.289 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/1.076, allocations: 22.33 kB / 1.289 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.076, allocations: 3.344 kB / 1.289 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.076, allocations: 5.531 kB / 1.289 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.076, allocations: 2.547 kB / 1.289 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/1.076, allocations: 260.1 kB / 1.289 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.076, allocations: 1.688 kB / 1.289 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/1.076, allocations: 12.95 kB / 1.289 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.076, allocations: 2.312 kB / 1.289 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/1.076, allocations: 4.688 kB / 1.289 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.076, allocations: 5.094 kB / 1.289 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.076, allocations: 6.219 kB / 1.289 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/1.076, allocations: 230.9 kB / 1.289 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/1.076, allocations: 97.41 kB / 1.289 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/1.076, allocations: 7.109 kB / 1.289 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/1.077, allocations: 11.61 kB / 1.289 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/1.077, allocations: 21.8 kB / 1.289 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/1.077, allocations: 8.078 kB / 1.289 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001832/1.077, allocations: 169 kB / 1.29 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.077, allocations: 4 kB / 1.29 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003927/1.077, allocations: 68.91 kB / 1.29 GB, free: 4.25 MB / 0.9981 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.0007456/1.078, allocations: 0.7606 MB / 1.29 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008199/1.079, allocations: 484 kB / 1.291 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.079, allocations: 0 / 1.291 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/1.079, allocations: 59.02 kB / 1.291 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/1.079, allocations: 68.12 kB / 1.291 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/1.084, allocations: 3.035 MB / 1.294 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/1.085, allocations: 0.73 MB / 1.295 GB, free: 328 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001098/1.085, allocations: 19.19 kB / 1.295 GB, free: 328 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-05/1.085, allocations: 56.39 kB / 1.295 GB, free: 288 kB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/1.085, allocations: 0 / 1.295 GB, free: 288 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/1.112, allocations: 6.456 MB / 1.301 GB, free: 15.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.72/9.832, allocations: 19.56 kB / 1.301 GB, free: 15.55 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.266168536036275] Failed to read output from testmodel.py, exit status != 0: 9.96318334096577 9.99039913 8.919520844 Calling exit ...