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.001311/0.001311, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002695/0.002695, allocations: 220.6 kB / 23.03 MB, free: 4.918 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.815/2.815, allocations: 476.8 MB / 0.7715 GB, free: 3.898 MB / 0.6231 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.002003/0.002003, allocations: 67.69 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3877, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002273/0.39, allocations: 0.9077 MB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.392, allocations: 1.457 MB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.3921, allocations: 4 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.64e-05/0.3921, allocations: 15.75 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.3923, allocations: 59.56 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.3933, allocations: 447.1 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.3939, allocations: 487.1 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.394, allocations: 31.36 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.3942, allocations: 187.6 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.3945, allocations: 167.5 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.809e-05/0.3945, allocations: 48 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3946, allocations: 64 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.3947, allocations: 43.72 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.3949, allocations: 147.5 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.3954, allocations: 0.4941 MB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.3955, allocations: 7.984 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.529e-06/0.3955, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.3955, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 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.0008894/0.3964, allocations: 0.5547 MB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3964, allocations: 12.03 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.682e-05/0.3964, allocations: 192 / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.3965, allocations: 42.73 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.3966, allocations: 32.78 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3967, allocations: 173.2 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.3968, allocations: 16.36 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.3968, allocations: 24.38 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3971, allocations: 117.4 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3971, allocations: 0 / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.3971, allocations: 11.98 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3971, allocations: 3.938 kB / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3972, allocations: 51.97 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.3982, allocations: 0.7461 MB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.3984, allocations: 122.3 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.3985, allocations: 51.48 kB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3985, allocations: 0 / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/0.3989, allocations: 184.2 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.3989, allocations: 0 / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004868/0.3993, allocations: 229.4 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.3995, allocations: 140.5 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.3997, allocations: 248.8 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.3998, allocations: 37.7 kB / 1.291 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3999, allocations: 124.5 kB / 1.291 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.4, allocations: 43.73 kB / 1.291 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.4002, allocations: 85.66 kB / 1.291 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4003, allocations: 338.8 kB / 1.292 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.4008, allocations: 267 kB / 1.292 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.4012, allocations: 359.5 kB / 1.292 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.4017, allocations: 365 kB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.4017, allocations: 4 kB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001149/0.4029, allocations: 0.6865 MB / 1.293 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.403, allocations: 142.8 kB / 1.294 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.403, allocations: 0 / 1.294 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.403, allocations: 4 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.4031, allocations: 19.92 kB / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4031, allocations: 11.88 kB / 1.294 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.4037, allocations: 115.7 kB / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.4038, allocations: 23.98 kB / 1.294 GB, free: 256 kB / 0.9825 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.0001867/0.404, allocations: 149.8 kB / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.404, allocations: 19.86 kB / 1.294 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.404, allocations: 26.27 kB / 1.294 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.404, allocations: 0 / 1.294 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.4041, allocations: 7.938 kB / 1.294 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4041, allocations: 4 kB / 1.294 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.4043, allocations: 208.7 kB / 1.294 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4043, allocations: 3.984 kB / 1.294 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.4044, allocations: 11.94 kB / 1.294 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4044, allocations: 0 / 1.294 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4044, allocations: 4 kB / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4044, allocations: 4 kB / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4044, allocations: 7.922 kB / 1.294 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.4047, allocations: 227.4 kB / 1.294 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.4048, allocations: 27.84 kB / 1.294 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.4048, allocations: 7.938 kB / 1.294 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.4048, allocations: 4 kB / 1.294 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.4049, allocations: 23.91 kB / 1.294 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.4049, allocations: 12 kB / 1.294 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001699/0.4051, allocations: 168.5 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4051, allocations: 0 / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000352/0.4054, allocations: 64 kB / 1.295 GB, free: 15.2 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.0007102/0.4061, allocations: 0.7705 MB / 1.295 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008373/0.407, allocations: 0.6055 MB / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.407, allocations: 0 / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.4071, allocations: 59.91 kB / 1.296 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.4075, allocations: 71.05 kB / 1.296 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.4122, allocations: 3.541 MB / 1.3 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.4123, allocations: 116.9 kB / 1.3 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.55e-05/0.4124, allocations: 18.39 kB / 1.3 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4125, allocations: 59.41 kB / 1.3 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of SimCode: time 1.262e-06/0.4125, allocations: 0 / 1.3 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.4434, allocations: 7.073 MB / 1.307 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.1, allocations: 6.125 kB / 1.307 GB, free: 2.75 MB / 0.9981 GB " [Timeout remaining time 288] (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: 19.07141249801498] Failed to read output from testmodel.py, exit status != 0: 12.869247750961222 12.296563434 11.896513276 Calling exit ...