Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001264/0.001264, 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.00148/0.00148, allocations: 217.1 kB / 23.04 MB, free: 5.078 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.238/3.238, allocations: 0.49 GB / 0.7959 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002018/0.002018, allocations: 69.09 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3461, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002565/0.3487, allocations: 0.9635 MB / 1.328 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.3509, allocations: 1.482 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.351, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.31e-05/0.351, allocations: 11.81 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.3512, allocations: 59.58 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3524, allocations: 451.8 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005861/0.353, allocations: 491.1 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3531, allocations: 30.23 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.3534, allocations: 187.6 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.3537, allocations: 167.4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.426e-05/0.3537, allocations: 48 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3539, allocations: 67.97 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.3539, allocations: 39.84 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.3541, allocations: 167.4 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.3546, allocations: 0.4945 MB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3546, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3546, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3546, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 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.0008263/0.3554, allocations: 0.5664 MB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3555, allocations: 15.97 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.609e-05/0.3555, allocations: 192 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.3555, allocations: 46.73 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.168e-05/0.3556, allocations: 24.84 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.3558, allocations: 169.3 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3559, allocations: 12.38 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.3559, allocations: 24.36 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.3562, allocations: 127.4 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3562, allocations: 3.984 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3562, allocations: 8 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3562, allocations: 4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.3563, allocations: 51.91 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.3574, allocations: 0.8396 MB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3576, allocations: 118.4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.3576, allocations: 55.36 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.3577, allocations: 8 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/0.358, allocations: 170.7 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.358, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004863/0.3585, allocations: 233.3 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.3585, allocations: 136.5 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.3588, allocations: 248.8 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/0.3589, allocations: 33.7 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.359, allocations: 136.4 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.359, allocations: 35.8 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.3592, allocations: 89.64 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3594, allocations: 330.8 kB / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.3597, allocations: 148.2 kB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.3601, allocations: 222.7 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.3606, allocations: 368.9 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3606, allocations: 3.984 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001006/0.3616, allocations: 0.5624 MB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.3617, allocations: 134.8 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3617, allocations: 0 / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.3617, allocations: 7.984 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.3618, allocations: 15.94 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3618, allocations: 16.17 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/0.3625, allocations: 107.8 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.3625, allocations: 23.97 kB / 1.336 GB, free: 7.816 MB / 1.029 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.0001814/0.3627, allocations: 158.2 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.3628, allocations: 19.86 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.3628, allocations: 26.27 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3628, allocations: 0 / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.3628, allocations: 7.938 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3628, allocations: 0 / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.3631, allocations: 228.6 kB / 1.337 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3631, allocations: 3.984 kB / 1.337 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.3631, allocations: 11.94 kB / 1.337 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3631, allocations: 4 kB / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3632, allocations: 8 kB / 1.337 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3632, allocations: 4 kB / 1.337 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3632, allocations: 3.938 kB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.3635, allocations: 219.4 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.3635, allocations: 27.84 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.3636, allocations: 8 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.3636, allocations: 3.938 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.3637, allocations: 23.91 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.3637, allocations: 11.94 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000167/0.3638, allocations: 164.5 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3638, allocations: 4 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003375/0.3642, allocations: 60 kB / 1.337 GB, free: 6.754 MB / 1.029 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.0007147/0.3649, allocations: 0.7658 MB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007429/0.3656, allocations: 493.3 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3656, allocations: 0 / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3657, allocations: 55.91 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.3662, allocations: 79.8 kB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.3705, allocations: 3.014 MB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.3709, allocations: 0.732 MB / 1.342 GB, free: 1.328 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.318e-05/0.371, allocations: 22.39 kB / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.707e-05/0.3711, allocations: 55.42 kB / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.3711, allocations: 0 / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.4089, allocations: 6.62 MB / 1.349 GB, free: 10.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.89, allocations: 1.719 kB / 1.349 GB, free: 10.84 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.77155057399068] Failed to read output from testmodel.py, exit status != 0: 12.059868747019209 12.088902082 11.729068059 Calling exit ...