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.001553/0.001553, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001902/0.001902, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.973/2.973, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.002036/0.002036, allocations: 71.88 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.02, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00193/1.021, allocations: 0.9701 MB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001446/1.023, allocations: 1.469 MB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/1.023, allocations: 0 / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/1.023, allocations: 11.81 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/1.023, allocations: 70.38 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009378/1.024, allocations: 445.2 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/1.024, allocations: 491.6 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/1.025, allocations: 28.25 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/1.025, allocations: 188.5 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/1.025, allocations: 171.3 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.065e-05/1.025, allocations: 49.88 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/1.025, allocations: 64.72 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/1.025, allocations: 36.05 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/1.025, allocations: 161.4 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003682/1.026, allocations: 0.5002 MB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.026, allocations: 0 / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/1.026, allocations: 0 / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.124e-06/1.026, allocations: 2.781 kB / 1.326 GB, free: 22.04 MB / 1.061 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.000663/1.026, allocations: 0.6371 MB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/1.026, allocations: 14.39 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.864e-05/1.026, allocations: 2.844 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.424e-05/1.026, allocations: 37.19 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/1.026, allocations: 34.92 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/1.027, allocations: 223.1 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/1.027, allocations: 16.38 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/1.027, allocations: 29.11 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/1.027, allocations: 120.7 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.027, allocations: 0 / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/1.027, allocations: 6.875 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/1.027, allocations: 0 / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/1.027, allocations: 53.45 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/1.028, allocations: 0.873 MB / 1.328 GB, free: 20.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/1.028, allocations: 124 kB / 1.328 GB, free: 20.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/1.028, allocations: 49.5 kB / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/1.028, allocations: 1.125 kB / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/1.028, allocations: 173.8 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/1.028, allocations: 0 / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0004991/1.029, allocations: 228.3 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/1.029, allocations: 135.7 kB / 1.329 GB, free: 19.81 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/1.029, allocations: 243.1 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/1.029, allocations: 38.45 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/1.029, allocations: 132.5 kB / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/1.029, allocations: 40.86 kB / 1.329 GB, free: 19.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/1.029, allocations: 92.31 kB / 1.329 GB, free: 19.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.195e-05/1.03, allocations: 331.8 kB / 1.33 GB, free: 19.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/1.03, allocations: 145.8 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/1.03, allocations: 228.1 kB / 1.33 GB, free: 18.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/1.031, allocations: 363.6 kB / 1.33 GB, free: 18.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.031, allocations: 1.156 kB / 1.33 GB, free: 18.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000999/1.032, allocations: 0.5599 MB / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.964e-05/1.032, allocations: 141.2 kB / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.032, allocations: 2.938 kB / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.032, allocations: 5.141 kB / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/1.032, allocations: 14.58 kB / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.032, allocations: 8.953 kB / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/1.033, allocations: 111.4 kB / 1.331 GB, free: 18.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/1.033, allocations: 32.47 kB / 1.331 GB, free: 18.09 MB / 1.061 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.0001464/1.033, allocations: 140.8 kB / 1.331 GB, free: 17.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/1.033, allocations: 22.02 kB / 1.331 GB, free: 17.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/1.033, allocations: 21.75 kB / 1.331 GB, free: 17.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.033, allocations: 6.719 kB / 1.331 GB, free: 17.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.033, allocations: 10.16 kB / 1.331 GB, free: 17.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.033, allocations: 2.625 kB / 1.331 GB, free: 17.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/1.033, allocations: 257 kB / 1.332 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.033, allocations: 1.188 kB / 1.332 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/1.033, allocations: 13.23 kB / 1.332 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.033, allocations: 1.703 kB / 1.332 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/1.033, allocations: 8.797 kB / 1.332 GB, free: 17.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.033, allocations: 5.562 kB / 1.332 GB, free: 17.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.033, allocations: 5.875 kB / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/1.034, allocations: 223 kB / 1.332 GB, free: 17.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/1.034, allocations: 98.12 kB / 1.332 GB, free: 17.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/1.034, allocations: 7.328 kB / 1.332 GB, free: 17.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/1.034, allocations: 3.219 kB / 1.332 GB, free: 17.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/1.034, allocations: 18.89 kB / 1.332 GB, free: 17.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/1.034, allocations: 11.8 kB / 1.332 GB, free: 17.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001435/1.034, allocations: 172.1 kB / 1.332 GB, free: 17.31 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.034, allocations: 0 / 1.332 GB, free: 17.31 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003734/1.034, allocations: 68.8 kB / 1.332 GB, free: 17.3 MB / 1.061 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.0005407/1.035, allocations: 0.7688 MB / 1.333 GB, free: 16.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006386/1.035, allocations: 487.4 kB / 1.333 GB, free: 16.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.035, allocations: 0 / 1.333 GB, free: 16.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/1.036, allocations: 60.19 kB / 1.333 GB, free: 16.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/1.036, allocations: 71.14 kB / 1.333 GB, free: 16.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/1.04, allocations: 3.037 MB / 1.336 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/1.04, allocations: 0.7301 MB / 1.337 GB, free: 13.35 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001099/1.04, allocations: 18.44 kB / 1.337 GB, free: 13.35 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.652e-05/1.04, allocations: 59.98 kB / 1.337 GB, free: 13.3 MB / 1.061 GB Notification: Performance of SimCode: time 1.113e-06/1.04, allocations: 0 / 1.337 GB, free: 13.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/1.077, allocations: 6.467 MB / 1.344 GB, free: 12.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.653/9.731, allocations: 6.594 kB / 1.344 GB, free: 12.57 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.341327665024437] Failed to read output from testmodel.py, exit status != 0: 9.862380589009263 9.886723885 8.856568716 Calling exit ...