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.001877/0.001877, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002253/0.002253, allocations: 221 kB / 23.03 MB, free: 4.945 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.27/3.27, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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.002775/0.002775, allocations: 65.55 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4047, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002481/0.4072, allocations: 0.9294 MB / 1.346 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.4093, allocations: 1.443 MB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.4094, allocations: 4 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.807e-05/0.4094, allocations: 15.75 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.4096, allocations: 59.56 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.4106, allocations: 446.8 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.4112, allocations: 491.1 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.4113, allocations: 26.23 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.4115, allocations: 187.6 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.4118, allocations: 167.4 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.4119, allocations: 48 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.412, allocations: 64 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.412, allocations: 39.84 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.4122, allocations: 147.5 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005396/0.4128, allocations: 0.5024 MB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4128, allocations: 0 / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4128, allocations: 0 / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4128, allocations: 0 / 1.35 GB, free: 11.44 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.0008171/0.4136, allocations: 0.5585 MB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4136, allocations: 15.97 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.329e-05/0.4137, allocations: 4.188 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.4137, allocations: 42.73 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.4138, allocations: 32.8 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.414, allocations: 169.2 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.414, allocations: 16.31 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.4141, allocations: 24.38 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.4143, allocations: 125.3 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4143, allocations: 4 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4143, allocations: 3.984 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4143, allocations: 0 / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.4144, allocations: 59.91 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.4154, allocations: 0.7539 MB / 1.351 GB, free: 9.473 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.4155, allocations: 118.4 kB / 1.352 GB, free: 9.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.753e-05/0.4156, allocations: 55.48 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.4156, allocations: 3.938 kB / 1.352 GB, free: 9.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/0.416, allocations: 177.4 kB / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.416, allocations: 0 / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0004493/0.4164, allocations: 217.5 kB / 1.352 GB, free: 8.836 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.4165, allocations: 144.4 kB / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.4168, allocations: 248.7 kB / 1.352 GB, free: 8.406 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.4168, allocations: 37.7 kB / 1.352 GB, free: 8.363 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.417, allocations: 136.5 kB / 1.353 GB, free: 8.227 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.417, allocations: 27.8 kB / 1.353 GB, free: 8.199 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.4172, allocations: 93.66 kB / 1.353 GB, free: 8.102 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4173, allocations: 330.8 kB / 1.353 GB, free: 7.77 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.4177, allocations: 271 kB / 1.353 GB, free: 7.477 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.4182, allocations: 357.4 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.4186, allocations: 372.9 kB / 1.354 GB, free: 6.641 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4186, allocations: 0 / 1.354 GB, free: 6.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001038/0.4197, allocations: 0.6902 MB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.4198, allocations: 134.8 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4198, allocations: 0 / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4198, allocations: 8.25 kB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.4199, allocations: 19.92 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.4199, allocations: 7.938 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.4205, allocations: 107.8 kB / 1.355 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.4206, allocations: 27.97 kB / 1.355 GB, free: 5.57 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.0001903/0.4207, allocations: 153.7 kB / 1.355 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.4208, allocations: 19.86 kB / 1.355 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.4208, allocations: 26.27 kB / 1.355 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4208, allocations: 0 / 1.355 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.4208, allocations: 7.938 kB / 1.355 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4208, allocations: 0 / 1.355 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.4211, allocations: 212.6 kB / 1.355 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4211, allocations: 0 / 1.355 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.4211, allocations: 20 kB / 1.355 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.4211, allocations: 7.938 kB / 1.355 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4212, allocations: 0 / 1.355 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.4212, allocations: 7.938 kB / 1.355 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.4212, allocations: 7.922 kB / 1.355 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.4215, allocations: 215.5 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.4215, allocations: 23.84 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.4215, allocations: 4 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.229e-05/0.4216, allocations: 4 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.4217, allocations: 23.91 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.4217, allocations: 11.94 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001623/0.4218, allocations: 172.5 kB / 1.356 GB, free: 4.586 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4218, allocations: 0 / 1.356 GB, free: 4.586 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003325/0.4222, allocations: 64 kB / 1.356 GB, free: 4.523 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.0006493/0.4228, allocations: 0.7631 MB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007885/0.4236, allocations: 0.6043 MB / 1.357 GB, free: 3.047 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4236, allocations: 0 / 1.357 GB, free: 3.047 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.4237, allocations: 59.97 kB / 1.357 GB, free: 2.988 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.4241, allocations: 68.25 kB / 1.357 GB, free: 2.922 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/0.4286, allocations: 3.545 MB / 1.361 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.4288, allocations: 116.9 kB / 1.361 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.541e-05/0.4288, allocations: 18.39 kB / 1.361 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4289, allocations: 63.41 kB / 1.361 GB, free: 14.88 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.4289, allocations: 0 / 1.361 GB, free: 14.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.4677, allocations: 7.06 MB / 1.368 GB, free: 8.047 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12, allocations: 8 kB / 1.368 GB, free: 8.039 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: 19.025347898015752] Failed to read output from testmodel.py, exit status != 0: 12.166946949902922 12.191133279 11.773699915 Calling exit ...