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.001339/0.001339, allocations: 101.3 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.001589/0.001589, allocations: 220.1 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.357/3.357, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.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.001967/0.001967, allocations: 69.31 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3762, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002098/0.3783, allocations: 0.7091 MB / 1.346 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3799, allocations: 1.143 MB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.3799, allocations: 4 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.38, allocations: 3.938 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.38, allocations: 23.84 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.3805, allocations: 131.6 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.3807, allocations: 127.7 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.3808, allocations: 11.98 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.3809, allocations: 43.91 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.381, allocations: 39.89 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.381, allocations: 12 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.3811, allocations: 27.98 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.3811, allocations: 11.94 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.3812, allocations: 39.84 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.3814, allocations: 135.8 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3814, allocations: 0 / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3814, allocations: 0 / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3814, allocations: 0 / 1.348 GB, free: 13.47 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005067/0.3819, allocations: 323.8 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3819, allocations: 12.03 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.253e-05/0.3819, allocations: 192 / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.654e-05/0.382, allocations: 30.75 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.382, allocations: 8.891 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3822, allocations: 122.5 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3822, allocations: 8.359 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3822, allocations: 4.375 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3823, allocations: 53.94 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.3823, allocations: 0 / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3823, allocations: 0 / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3823, allocations: 0 / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.439e-05/0.3824, allocations: 12 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.3828, allocations: 279.9 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.3e-05/0.3828, allocations: 22.58 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.3829, allocations: 24.84 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.3829, allocations: 0 / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.383, allocations: 67.34 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.383, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001998/0.3832, allocations: 69.69 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3833, allocations: 55.34 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3834, allocations: 137.7 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3834, allocations: 25.7 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.3835, allocations: 96.08 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.3835, allocations: 15.94 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.3836, allocations: 29.7 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3837, allocations: 326.7 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.3838, allocations: 69.67 kB / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3839, allocations: 88.27 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3841, allocations: 92.2 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3841, allocations: 0 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003083/0.3844, allocations: 197.2 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.3844, allocations: 37.7 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3844, allocations: 4 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3844, allocations: 8.062 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.3845, allocations: 3.984 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3845, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.3847, allocations: 23.97 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.3847, allocations: 15.98 kB / 1.35 GB, free: 11 MB / 1.045 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 9.328e-05/0.3848, allocations: 113.8 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.3848, allocations: 11.95 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.3848, allocations: 4 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3848, allocations: 4 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3849, allocations: 7.984 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3849, allocations: 0 / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.385, allocations: 136.7 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.385, allocations: 0 / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.385, allocations: 7.938 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.385, allocations: 0 / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.385, allocations: 3.984 kB / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.385, allocations: 0 / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.385, allocations: 0 / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.3851, allocations: 93.02 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.3852, allocations: 11.94 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3852, allocations: 3.938 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.504e-05/0.3852, allocations: 7.984 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.3852, allocations: 4 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.3852, allocations: 0 / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.3853, allocations: 95.27 kB / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3853, allocations: 0 / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002162/0.3855, allocations: 20 kB / 1.35 GB, free: 10.4 MB / 1.045 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.0004688/0.386, allocations: 0.6319 MB / 1.351 GB, free: 9.742 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.3862, allocations: 168.9 kB / 1.351 GB, free: 9.559 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3862, allocations: 0 / 1.351 GB, free: 9.559 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/0.3863, allocations: 12 kB / 1.351 GB, free: 9.547 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.3865, allocations: 18.17 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.3883, allocations: 1.634 MB / 1.353 GB, free: 7.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.3883, allocations: 75.45 kB / 1.353 GB, free: 7.676 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.3884, allocations: 7.938 kB / 1.353 GB, free: 7.668 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.3884, allocations: 19.42 kB / 1.353 GB, free: 7.648 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3884, allocations: 0 / 1.353 GB, free: 7.648 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.4111, allocations: 2.648 MB / 1.355 GB, free: 5.172 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.73, allocations: 0 / 1.355 GB, free: 5.172 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.847222561948] Failed to read output from testmodel.py, exit status != 0: 11.897087262012064 11.92531018 11.538143248 Calling exit ...