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.001805/0.001805, allocations: 117.1 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.002332/0.002332, 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.559/1.559, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.21/3.21, allocations: 0.5003 GB / 0.8026 GB, free: 6.914 MB / 0.6387 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.001915/0.001915, allocations: 59.91 kB / 1.165 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.168, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002341/1.17, allocations: 0.9805 MB / 1.341 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002019/1.172, allocations: 1.464 MB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.141e-05/1.172, allocations: 1.5 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.631e-05/1.172, allocations: 13.12 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/1.172, allocations: 64.98 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/1.173, allocations: 446 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005413/1.174, allocations: 499.2 kB / 1.344 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/1.174, allocations: 27.97 kB / 1.344 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/1.174, allocations: 185.4 kB / 1.344 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/1.174, allocations: 168.2 kB / 1.344 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.114e-05/1.175, allocations: 48.12 kB / 1.344 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/1.175, allocations: 59.98 kB / 1.344 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/1.175, allocations: 37.44 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/1.175, allocations: 167.9 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006841/1.176, allocations: 0.4988 MB / 1.345 GB, free: 13.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.176, allocations: 0.6562 kB / 1.345 GB, free: 13.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/1.176, allocations: 0 / 1.345 GB, free: 13.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.176, allocations: 1.312 kB / 1.345 GB, free: 13.57 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.0008396/1.176, allocations: 0.6358 MB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.177, allocations: 10.56 kB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.738e-05/1.177, allocations: 1.344 kB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/1.177, allocations: 40.41 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/1.177, allocations: 31.39 kB / 1.345 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/1.177, allocations: 228.9 kB / 1.346 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/1.177, allocations: 19.52 kB / 1.346 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/1.177, allocations: 23.97 kB / 1.346 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/1.177, allocations: 117.8 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.177, allocations: 0 / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/1.177, allocations: 10.23 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.177, allocations: 2.375 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/1.177, allocations: 57.69 kB / 1.346 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/1.178, allocations: 0.8727 MB / 1.347 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/1.179, allocations: 121.6 kB / 1.347 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.207e-05/1.179, allocations: 49.56 kB / 1.347 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/1.179, allocations: 1.375 kB / 1.347 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003522/1.179, allocations: 173.3 kB / 1.347 GB, free: 11.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/1.179, allocations: 0 / 1.347 GB, free: 11.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0005388/1.18, allocations: 226.4 kB / 1.347 GB, free: 11.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/1.18, allocations: 138 kB / 1.347 GB, free: 11.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/1.18, allocations: 243.7 kB / 1.348 GB, free: 11.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/1.18, allocations: 41.97 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/1.18, allocations: 131.2 kB / 1.348 GB, free: 11.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/1.18, allocations: 39.88 kB / 1.348 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/1.18, allocations: 89.88 kB / 1.348 GB, free: 10.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/1.18, allocations: 333.7 kB / 1.348 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/1.181, allocations: 142.8 kB / 1.348 GB, free: 10.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/1.181, allocations: 225.4 kB / 1.349 GB, free: 10.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/1.182, allocations: 364.6 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.182, allocations: 1.844 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001003/1.183, allocations: 0.5671 MB / 1.349 GB, free: 9.785 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/1.183, allocations: 137 kB / 1.35 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.183, allocations: 3.375 kB / 1.35 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.183, allocations: 4.844 kB / 1.35 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/1.183, allocations: 15 kB / 1.35 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.183, allocations: 7.625 kB / 1.35 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/1.184, allocations: 112.9 kB / 1.35 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/1.184, allocations: 28.27 kB / 1.35 GB, free: 9.621 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.0001596/1.184, allocations: 150.8 kB / 1.35 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/1.184, allocations: 22.62 kB / 1.35 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/1.184, allocations: 23.86 kB / 1.35 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.184, allocations: 2.531 kB / 1.35 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.184, allocations: 9.25 kB / 1.35 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.184, allocations: 2.266 kB / 1.35 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/1.184, allocations: 257 kB / 1.35 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.184, allocations: 1.25 kB / 1.35 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/1.184, allocations: 12.97 kB / 1.35 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.184, allocations: 2.438 kB / 1.35 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/1.184, allocations: 11.86 kB / 1.35 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.184, allocations: 1.828 kB / 1.35 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.184, allocations: 9.156 kB / 1.35 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/1.184, allocations: 220.8 kB / 1.35 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/1.185, allocations: 97.41 kB / 1.35 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/1.185, allocations: 12.14 kB / 1.351 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/1.185, allocations: 1.75 kB / 1.351 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/1.185, allocations: 20.59 kB / 1.351 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/1.185, allocations: 7.016 kB / 1.351 GB, free: 8.938 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001578/1.185, allocations: 172 kB / 1.351 GB, free: 8.828 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.185, allocations: 1.094 kB / 1.351 GB, free: 8.828 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003734/1.185, allocations: 68.66 kB / 1.351 GB, free: 8.82 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.0005652/1.186, allocations: 0.7602 MB / 1.352 GB, free: 8.145 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007701/1.187, allocations: 0.4887 MB / 1.352 GB, free: 7.777 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.187, allocations: 3.938 kB / 1.352 GB, free: 7.773 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/1.187, allocations: 55.52 kB / 1.352 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/1.187, allocations: 67.05 kB / 1.352 GB, free: 7.738 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/1.191, allocations: 3.029 MB / 1.355 GB, free: 5.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/1.191, allocations: 0.7255 MB / 1.356 GB, free: 4.895 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001055/1.192, allocations: 19.72 kB / 1.356 GB, free: 4.891 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.741e-05/1.192, allocations: 63.47 kB / 1.356 GB, free: 4.844 MB / 1.061 GB Notification: Performance of SimCode: time 9.11e-07/1.192, allocations: 1.25 kB / 1.356 GB, free: 4.844 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/1.222, allocations: 6.475 MB / 1.362 GB, free: 4.102 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.594/9.815, allocations: 4.375 kB / 1.362 GB, free: 4.102 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.685405385040212] Failed to read output from testmodel.py, exit status != 0: 9.94563777698204 9.969839209 8.790188641 Calling exit ...