Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001867/0.001867, 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.002337/0.002337, 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.614/1.614, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.994/2.994, allocations: 0.5003 GB / 0.8026 GB, free: 6.809 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.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_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_latest_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.002115/0.002115, allocations: 67.91 kB / 1.165 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001815/1.111, allocations: 0.727 MB / 1.341 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001367/1.113, allocations: 1.171 MB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/1.113, allocations: 1.219 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/1.113, allocations: 4.547 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.076e-05/1.113, allocations: 16.33 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/1.113, allocations: 128.9 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/1.113, allocations: 122.9 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.448e-05/1.114, allocations: 13.73 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/1.114, allocations: 44.33 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/1.114, allocations: 43.81 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/1.114, allocations: 11.97 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.101e-05/1.114, allocations: 25.56 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/1.114, allocations: 11.42 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/1.114, allocations: 50.12 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/1.114, allocations: 136.5 kB / 1.343 GB, free: 14.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.114, allocations: 4 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/1.114, allocations: 0 / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.043e-05/1.114, allocations: 0 / 1.343 GB, free: 14.67 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004228/1.115, allocations: 392.6 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/1.115, allocations: 9.469 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.213e-05/1.115, allocations: 192 / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.827e-05/1.115, allocations: 38.02 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/1.115, allocations: 8.797 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/1.115, allocations: 179.9 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.115, allocations: 7.234 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/1.115, allocations: 9.281 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.661e-05/1.115, allocations: 50.19 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.115, allocations: 0 / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/1.115, allocations: 2.391 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.115, allocations: 0 / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.1e-05/1.115, allocations: 12.08 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/1.115, allocations: 330.7 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/1.115, allocations: 35.7 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/1.115, allocations: 12.25 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/1.115, allocations: 1.25 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/1.115, allocations: 64.03 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/1.115, allocations: 0 / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001917/1.116, allocations: 71.89 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/1.116, allocations: 61.36 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/1.116, allocations: 128.8 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/1.116, allocations: 28.73 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/1.116, allocations: 93.83 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/1.116, allocations: 14.06 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/1.116, allocations: 34.69 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.561e-05/1.116, allocations: 322.8 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/1.116, allocations: 37.25 kB / 1.344 GB, free: 12.83 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.328e-05/1.116, allocations: 65.56 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.863e-05/1.116, allocations: 90.91 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.116, allocations: 0 / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002507/1.116, allocations: 162.5 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/1.117, allocations: 40.11 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.117, allocations: 5.438 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.117, allocations: 0.7969 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/1.117, allocations: 2.75 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/1.117, allocations: 2.172 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/1.117, allocations: 24.28 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/1.117, allocations: 5.859 kB / 1.345 GB, free: 12.56 MB / 1.061 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 6.442e-05/1.117, allocations: 121.4 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/1.117, allocations: 11.41 kB / 1.345 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/1.117, allocations: 9.938 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.117, allocations: 0.6562 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.117, allocations: 1.375 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.117, allocations: 0 / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/1.117, allocations: 174 kB / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.117, allocations: 0 / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/1.117, allocations: 7.391 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/1.117, allocations: 0 / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/1.117, allocations: 2.031 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.117, allocations: 4 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.117, allocations: 1.375 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/1.117, allocations: 93.83 kB / 1.345 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/1.117, allocations: 78.55 kB / 1.345 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.117, allocations: 10.83 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.822e-05/1.117, allocations: 0 / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/1.117, allocations: 2.594 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/1.117, allocations: 2.75 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.554e-05/1.117, allocations: 105.9 kB / 1.345 GB, free: 11.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.117, allocations: 3.938 kB / 1.345 GB, free: 11.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002157/1.118, allocations: 17.02 kB / 1.345 GB, free: 11.93 MB / 1.061 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.0003054/1.118, allocations: 0.6389 MB / 1.346 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002226/1.118, allocations: 127.1 kB / 1.346 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.118, allocations: 1.375 kB / 1.346 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/1.118, allocations: 13.25 kB / 1.346 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/1.118, allocations: 14.92 kB / 1.346 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/1.12, allocations: 1.491 MB / 1.348 GB, free: 9.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/1.12, allocations: 0.6883 MB / 1.348 GB, free: 9.211 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.821e-05/1.12, allocations: 5.562 kB / 1.348 GB, free: 9.211 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/1.12, allocations: 15.25 kB / 1.348 GB, free: 9.199 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.12, allocations: 0 / 1.348 GB, free: 9.199 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/1.138, allocations: 2.415 MB / 1.351 GB, free: 8.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/9.45, allocations: 22.58 kB / 1.351 GB, free: 8.734 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.277501442993525] Failed to read output from testmodel.py, exit status != 0: 9.572642699989956 9.586424653 8.469639038 Calling exit ...