Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.001907/0.001907, allocations: 114.7 kB / 17.16 MB, free: 6.004 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.002587/0.002587, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.056/3.056, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 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.Discrete.Validation.TriggeredMovingMean,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMovingMean",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMovingMean",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.002053/0.002053, allocations: 75.89 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 178.9 MB / 1.34 GB, free: 16.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002115/1.017, allocations: 0.8793 MB / 1.341 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001969/1.019, allocations: 1.355 MB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/1.019, allocations: 4.969 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/1.02, allocations: 13.73 kB / 1.342 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/1.02, allocations: 34.02 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007429/1.02, allocations: 277.5 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/1.021, allocations: 283.4 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/1.021, allocations: 24.8 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/1.021, allocations: 134.8 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/1.021, allocations: 130.3 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/1.021, allocations: 26.59 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/1.022, allocations: 47.53 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/1.022, allocations: 41.45 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/1.022, allocations: 101.6 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004669/1.022, allocations: 277.5 kB / 1.344 GB, free: 13.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.022, allocations: 0 / 1.344 GB, free: 13.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/1.022, allocations: 0 / 1.344 GB, free: 13.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.022, allocations: 4.609 kB / 1.344 GB, free: 13.95 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001018/1.023, allocations: 0.5411 MB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.023, allocations: 10.22 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.226e-05/1.023, allocations: 2.781 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/1.023, allocations: 47.28 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/1.024, allocations: 31.22 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/1.024, allocations: 226.2 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/1.024, allocations: 18.33 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/1.024, allocations: 16.8 kB / 1.345 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/1.024, allocations: 188 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.024, allocations: 1.375 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/1.024, allocations: 3.297 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.024, allocations: 2.75 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/1.025, allocations: 90.5 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/1.025, allocations: 489.5 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/1.026, allocations: 114.9 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/1.026, allocations: 81.98 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/1.026, allocations: 5.312 kB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003798/1.026, allocations: 213 kB / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/1.026, allocations: 0 / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0009891/1.027, allocations: 453.9 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/1.027, allocations: 61.11 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/1.027, allocations: 137.2 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/1.027, allocations: 44.95 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/1.027, allocations: 102.3 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/1.028, allocations: 70.33 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/1.028, allocations: 91.33 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.933e-05/1.028, allocations: 329.8 kB / 1.347 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/1.028, allocations: 143.9 kB / 1.347 GB, free: 11.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/1.028, allocations: 206.6 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/1.029, allocations: 372.1 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/1.029, allocations: 5.188 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008706/1.03, allocations: 0.4986 MB / 1.348 GB, free: 11.01 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/1.03, allocations: 70.05 kB / 1.348 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.03, allocations: 2.844 kB / 1.348 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.03, allocations: 2.562 kB / 1.348 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/1.03, allocations: 49.12 kB / 1.348 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.03, allocations: 8.016 kB / 1.348 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/1.031, allocations: 77.69 kB / 1.348 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/1.031, allocations: 24 kB / 1.348 GB, free: 10.91 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,booPul1.y,$PRE.booPul1.y,$whenCondition4,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,triMovMea2.ySample[3],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[1],triMovMea2.index,triMovMea2.counter,$PRE.triMovMea2.counter,triMovMea2.iSample,$PRE.triMovMea2.iSample,triMovMea2.y,triMovMea1.ySample[1],$PRE.triMovMea1.ySample[1],triMovMea1.index,triMovMea1.counter,$PRE.triMovMea1.counter,triMovMea1.iSample,$PRE.triMovMea1.iSample,triMovMea1.y,triMovMea.ySample[3],$PRE.triMovMea.ySample[3],triMovMea.ySample[2],$PRE.triMovMea.ySample[2],triMovMea.ySample[1],$PRE.triMovMea.ySample[1],triMovMea.index,triMovMea.counter,$PRE.triMovMea.counter,triMovMea.iSample,$PRE.triMovMea.iSample,triMovMea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 2 * 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.0001674/1.031, allocations: 162.1 kB / 1.348 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/1.031, allocations: 18.12 kB / 1.348 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/1.031, allocations: 12.62 kB / 1.348 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.031, allocations: 2.281 kB / 1.348 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.031, allocations: 5.281 kB / 1.348 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.031, allocations: 1.219 kB / 1.348 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00086/1.032, allocations: 0.6672 MB / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.032, allocations: 0 / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/1.032, allocations: 11.39 kB / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.032, allocations: 1.062 kB / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/1.032, allocations: 13.94 kB / 1.349 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.032, allocations: 1.406 kB / 1.349 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.032, allocations: 0.6562 kB / 1.349 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/1.032, allocations: 460.6 kB / 1.35 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/1.033, allocations: 90.36 kB / 1.35 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/1.033, allocations: 27.7 kB / 1.35 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/1.033, allocations: 7.047 kB / 1.35 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/1.033, allocations: 16.42 kB / 1.35 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/1.033, allocations: 18.41 kB / 1.35 GB, free: 9.977 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.788e-05/1.033, allocations: 104.2 kB / 1.35 GB, free: 9.895 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.033, allocations: 0 / 1.35 GB, free: 9.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003632/1.033, allocations: 77.45 kB / 1.35 GB, free: 9.875 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: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0009237/1.034, allocations: 1.028 MB / 1.351 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007319/1.035, allocations: 416.9 kB / 1.351 GB, free: 8.883 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.035, allocations: 0 / 1.351 GB, free: 8.883 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/1.035, allocations: 99.77 kB / 1.351 GB, free: 8.855 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/1.035, allocations: 35.03 kB / 1.351 GB, free: 8.844 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/1.039, allocations: 2.666 MB / 1.354 GB, free: 6.996 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/1.039, allocations: 0.7238 MB / 1.355 GB, free: 6.293 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.755e-05/1.039, allocations: 22.56 kB / 1.355 GB, free: 6.289 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.679e-05/1.039, allocations: 46.72 kB / 1.355 GB, free: 6.258 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/1.039, allocations: 0 / 1.355 GB, free: 6.258 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/1.065, allocations: 5.236 MB / 1.36 GB, free: 5.645 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.697/9.762, allocations: 16.56 kB / 1.36 GB, free: 5.633 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMovingMean_fmu --startTime=-0.5 --stopTime=15 --stepSize=0.0062 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMovingMean.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.31782012898475] Failed to read output from testmodel.py, exit status != 0: 9.891909563972149 9.913089803 8.886483898 Calling exit ...