Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.001332/0.001332, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001586/0.001586, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.527/1.527, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.141/3.141, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.002331/0.002331, allocations: 75.84 kB / 1.165 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9947/0.9971, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002267/0.9993, allocations: 1.184 MB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002432/1.002, allocations: 2.199 MB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/1.002, allocations: 1.219 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.222e-05/1.002, allocations: 21 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/1.002, allocations: 99.02 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/1.005, allocations: 1.396 MB / 1.345 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00129/1.006, allocations: 1.2 MB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.308e-05/1.006, allocations: 16.42 kB / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005098/1.007, allocations: 483.3 kB / 1.347 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/1.008, allocations: 438 kB / 1.347 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/1.008, allocations: 104.6 kB / 1.347 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/1.008, allocations: 120.4 kB / 1.347 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/1.008, allocations: 59.73 kB / 1.347 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003984/1.008, allocations: 399.2 kB / 1.348 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/1.009, allocations: 0.9671 MB / 1.349 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.009, allocations: 2.031 kB / 1.349 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.755e-06/1.009, allocations: 0 / 1.349 GB, free: 11.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.156e-06/1.009, allocations: 0 / 1.349 GB, free: 11.77 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001268/1.011, allocations: 1.177 MB / 1.35 GB, free: 10.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.011, allocations: 9.688 kB / 1.35 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.716e-05/1.011, allocations: 6.5 kB / 1.35 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/1.011, allocations: 38.06 kB / 1.35 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/1.011, allocations: 70.83 kB / 1.35 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.011, allocations: 221.2 kB / 1.35 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/1.011, allocations: 42.09 kB / 1.35 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.011, allocations: 69.36 kB / 1.35 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/1.012, allocations: 212 kB / 1.35 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.012, allocations: 5 kB / 1.35 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/1.012, allocations: 7.062 kB / 1.35 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.012, allocations: 2.094 kB / 1.35 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/1.012, allocations: 72.78 kB / 1.35 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/1.013, allocations: 0.8482 MB / 1.351 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/1.013, allocations: 324.5 kB / 1.352 GB, free: 9.324 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/1.013, allocations: 134.3 kB / 1.352 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/1.013, allocations: 7.781 kB / 1.352 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005913/1.014, allocations: 466.5 kB / 1.352 GB, free: 8.898 MB / 1.061 GB Notification: Performance of pre-optimization done (n=45): time 1.983e-06/1.014, allocations: 0 / 1.352 GB, free: 8.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.001117/1.015, allocations: 0.5648 MB / 1.353 GB, free: 8.711 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.015, allocations: 438.7 kB / 1.353 GB, free: 8.199 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/1.015, allocations: 295.2 kB / 1.353 GB, free: 8.023 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/1.015, allocations: 67.27 kB / 1.354 GB, free: 7.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/1.016, allocations: 161 kB / 1.354 GB, free: 7.855 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/1.016, allocations: 98.16 kB / 1.354 GB, free: 7.781 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005164/1.016, allocations: 281.4 kB / 1.354 GB, free: 7.703 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.906e-05/1.016, allocations: 349.4 kB / 1.354 GB, free: 7.375 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/1.017, allocations: 423 kB / 1.355 GB, free: 7.242 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/1.018, allocations: 0.709 MB / 1.355 GB, free: 6.719 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/1.019, allocations: 1.198 MB / 1.357 GB, free: 5.625 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.019, allocations: 2.625 kB / 1.357 GB, free: 5.625 MB / 1.061 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002764/1.022, allocations: 1.752 MB / 1.358 GB, free: 4.691 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/1.022, allocations: 481.8 kB / 1.359 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/1.022, allocations: 10.75 kB / 1.359 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/1.022, allocations: 13.31 kB / 1.359 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/1.022, allocations: 37.34 kB / 1.359 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/1.022, allocations: 20.22 kB / 1.359 GB, free: 4.172 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.025, allocations: 405.9 kB / 1.359 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/1.025, allocations: 99.31 kB / 1.359 GB, free: 4.113 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003274/1.025, allocations: 207.4 kB / 1.36 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/1.025, allocations: 58.86 kB / 1.36 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/1.025, allocations: 35.8 kB / 1.36 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/1.025, allocations: 12.19 kB / 1.36 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.025, allocations: 9.953 kB / 1.36 GB, free: 3.891 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/1.025, allocations: 6.047 kB / 1.36 GB, free: 3.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/1.026, allocations: 327.8 kB / 1.36 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.026, allocations: 7.5 kB / 1.36 GB, free: 3.637 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/1.026, allocations: 21.81 kB / 1.36 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.026, allocations: 14 kB / 1.36 GB, free: 3.621 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/1.026, allocations: 18.2 kB / 1.36 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/1.026, allocations: 10.83 kB / 1.36 GB, free: 3.613 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.026, allocations: 4.125 kB / 1.36 GB, free: 3.613 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/1.027, allocations: 0.513 MB / 1.361 GB, free: 3.309 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/1.027, allocations: 120.9 kB / 1.361 GB, free: 3.188 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/1.027, allocations: 14.98 kB / 1.361 GB, free: 3.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/1.027, allocations: 16.34 kB / 1.361 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/1.027, allocations: 60.03 kB / 1.361 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/1.027, allocations: 32.67 kB / 1.361 GB, free: 3.145 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001627/1.027, allocations: 188.3 kB / 1.361 GB, free: 3.039 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.027, allocations: 4 kB / 1.361 GB, free: 3.035 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007432/1.028, allocations: 196.4 kB / 1.361 GB, free: 3.023 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.000895/1.029, allocations: 1.091 MB / 1.362 GB, free: 2.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001868/1.031, allocations: 1.568 MB / 1.364 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.031, allocations: 5.5 kB / 1.364 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/1.031, allocations: 150.8 kB / 1.364 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/1.032, allocations: 114 kB / 1.364 GB, free: 0.875 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.042, allocations: 6.51 MB / 1.37 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/1.042, allocations: 0.775 MB / 1.371 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002037/1.043, allocations: 45.94 kB / 1.371 GB, free: 11.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/1.043, allocations: 112.9 kB / 1.371 GB, free: 11.88 MB / 1.076 GB Notification: Performance of SimCode: time 1.132e-06/1.043, allocations: 0 / 1.371 GB, free: 11.88 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/1.084, allocations: 14.94 MB / 1.386 GB, free: 8.855 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.325/10.41, allocations: 11.36 kB / 1.386 GB, free: 8.848 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.013065109029412] Failed to read output from testmodel.py, exit status != 0: 10.54389072099002 10.564226397 9.550776541 Calling exit ...