Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001442/0.001442, allocations: 116.8 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.001523/0.001523, allocations: 209.5 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.616/1.616, 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 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.755/2.755, allocations: 476.7 MB / 0.7678 GB, free: 9.281 MB / 0.6075 GB " [Timeout remaining time 177] 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.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.001995/0.001995, allocations: 67.91 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.8915, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001983/0.8935, allocations: 0.7325 MB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.895, allocations: 1.169 MB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.895, allocations: 0.8125 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.8951, allocations: 9.266 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.8952, allocations: 15.94 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.8956, allocations: 133.3 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.8958, allocations: 123.2 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.8959, allocations: 13.11 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.896, allocations: 41.31 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.8961, allocations: 42.64 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.8962, allocations: 12.06 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.8962, allocations: 29.64 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.8963, allocations: 16.02 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.8963, allocations: 40.58 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.8965, allocations: 132.6 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.8965, allocations: 0.9688 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8965, allocations: 3.938 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8966, allocations: 0.7031 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005603/0.8971, allocations: 394.6 kB / 1.282 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.8972, allocations: 10 kB / 1.282 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.398e-05/0.8972, allocations: 1.391 kB / 1.282 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.8972, allocations: 36.36 kB / 1.282 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.8972, allocations: 9.953 kB / 1.282 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.8974, allocations: 179.6 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.8974, allocations: 7.734 kB / 1.282 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.8974, allocations: 9.562 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.8975, allocations: 45.34 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.8976, allocations: 0.75 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.8976, allocations: 1.156 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.8976, allocations: 0.5312 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.8976, allocations: 16.38 kB / 1.282 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.8981, allocations: 330.4 kB / 1.282 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.137e-05/0.8981, allocations: 30.78 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.8982, allocations: 13.64 kB / 1.282 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.8982, allocations: 0.5 kB / 1.282 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.8983, allocations: 69.08 kB / 1.283 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.8983, allocations: 0 / 1.283 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000244/0.8986, allocations: 79.11 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.8986, allocations: 53.02 kB / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.8987, allocations: 122 kB / 1.283 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.8988, allocations: 31.83 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.8988, allocations: 89.36 kB / 1.283 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.8989, allocations: 14.14 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.899, allocations: 30.64 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8991, allocations: 326.4 kB / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.8992, allocations: 38.27 kB / 1.283 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.8993, allocations: 60.81 kB / 1.283 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.8994, allocations: 92 kB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8994, allocations: 0 / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002917/0.8997, allocations: 162.7 kB / 1.284 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.8998, allocations: 39.94 kB / 1.284 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8998, allocations: 5.125 kB / 1.284 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8998, allocations: 1.391 kB / 1.284 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.8998, allocations: 3.188 kB / 1.284 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8998, allocations: 2.234 kB / 1.284 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.9, allocations: 32.12 kB / 1.284 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.9001, allocations: 9.781 kB / 1.284 GB, free: 8.004 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001049/0.9002, allocations: 124.9 kB / 1.284 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.9002, allocations: 6.188 kB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.9002, allocations: 7.906 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9002, allocations: 0 / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9002, allocations: 0 / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.9002, allocations: 1.859 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.9004, allocations: 181.3 kB / 1.284 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9004, allocations: 1.469 kB / 1.284 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.67e-05/0.9004, allocations: 6.078 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9004, allocations: 0 / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.9004, allocations: 2.094 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9004, allocations: 3.938 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9004, allocations: 0.9688 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.9005, allocations: 88.98 kB / 1.284 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.9006, allocations: 83.02 kB / 1.284 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.9006, allocations: 1.812 kB / 1.284 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.9006, allocations: 6.141 kB / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.9006, allocations: 2.406 kB / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.9006, allocations: 5.922 kB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.9007, allocations: 98.34 kB / 1.284 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9007, allocations: 1.094 kB / 1.284 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000218/0.9009, allocations: 21.34 kB / 1.284 GB, free: 7.379 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004849/0.9014, allocations: 0.6394 MB / 1.285 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.9017, allocations: 123.6 kB / 1.285 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9017, allocations: 0 / 1.285 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.9017, allocations: 13.55 kB / 1.285 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.9019, allocations: 18.22 kB / 1.285 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.9037, allocations: 1.499 MB / 1.287 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.904, allocations: 0.6838 MB / 1.287 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.904, allocations: 4.031 kB / 1.287 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.9041, allocations: 15.7 kB / 1.287 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.9041, allocations: 1.344 kB / 1.287 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.9259, allocations: 2.424 MB / 1.29 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.549/9.475, allocations: 9.562 kB / 1.29 GB, free: 4.172 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.76530485600233] Failed to read output from testmodel.py, exit status != 0: 9.602215653983876 9.621348206 8.721000751 Calling exit ...