Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001402/0.001402, allocations: 123.1 kB / 17.17 MB, free: 5.918 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.001929/0.001929, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.534/1.534, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.005/3.005, allocations: 0.5003 GB / 0.8026 GB, free: 6.766 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.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.002017/0.002017, allocations: 63.91 kB / 1.165 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 178.9 MB / 1.34 GB, free: 16.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002138/1.014, allocations: 0.7513 MB / 1.341 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001672/1.016, allocations: 1.183 MB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/1.016, allocations: 1.188 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.172e-05/1.016, allocations: 4.5 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.977e-05/1.016, allocations: 15.17 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/1.016, allocations: 134.2 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/1.017, allocations: 118.8 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/1.017, allocations: 14.55 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/1.017, allocations: 44.38 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/1.017, allocations: 50.5 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/1.017, allocations: 9.906 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.129e-05/1.017, allocations: 24.36 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/1.017, allocations: 9.938 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/1.017, allocations: 42.8 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/1.017, allocations: 124.5 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.017, allocations: 1.469 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.435e-06/1.017, allocations: 4 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.017, allocations: 0 / 1.343 GB, free: 14.56 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006531/1.018, allocations: 413 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.018, allocations: 9.906 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.283e-05/1.018, allocations: 2.766 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.52e-05/1.018, allocations: 33.52 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/1.018, allocations: 9.828 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/1.018, allocations: 177 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/1.018, allocations: 12.38 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/1.018, allocations: 7.125 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/1.019, allocations: 69.77 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.019, allocations: 1.406 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.019, allocations: 0.7031 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/1.019, allocations: 1.469 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/1.019, allocations: 41.11 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/1.019, allocations: 342.1 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/1.02, allocations: 57.25 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/1.02, allocations: 30.25 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/1.02, allocations: 1.812 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/1.02, allocations: 90.69 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/1.02, allocations: 0 / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005391/1.021, allocations: 140.1 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/1.021, allocations: 54.91 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/1.021, allocations: 121.3 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/1.021, allocations: 29.16 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/1.021, allocations: 92.2 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/1.021, allocations: 21.5 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/1.021, allocations: 38.33 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.322e-05/1.021, allocations: 322.2 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/1.021, allocations: 51.23 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/1.021, allocations: 91.27 kB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/1.022, allocations: 144.7 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.022, allocations: 5.312 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004577/1.022, allocations: 206.4 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/1.022, allocations: 38.84 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.022, allocations: 5.422 kB / 1.345 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.022, allocations: 3.172 kB / 1.345 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/1.022, allocations: 14.38 kB / 1.345 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/1.022, allocations: 5.906 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/1.023, allocations: 31.11 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/1.023, allocations: 15.94 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 8.294e-05/1.023, allocations: 126.1 kB / 1.345 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/1.023, allocations: 7.375 kB / 1.345 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/1.023, allocations: 18.48 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.023, allocations: 1.312 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.023, allocations: 0.6094 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.023, allocations: 1.891 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/1.023, allocations: 372.8 kB / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.023, allocations: 1.672 kB / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/1.023, allocations: 7.766 kB / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.023, allocations: 1.891 kB / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/1.023, allocations: 6.062 kB / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.023, allocations: 0 / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.023, allocations: 4.5 kB / 1.346 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/1.024, allocations: 213.2 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/1.024, allocations: 82.92 kB / 1.346 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/1.024, allocations: 3.219 kB / 1.346 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/1.024, allocations: 14.67 kB / 1.346 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/1.024, allocations: 8.734 kB / 1.346 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.024, allocations: 3 kB / 1.346 GB, free: 11.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.426e-05/1.024, allocations: 91.98 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.024, allocations: 0 / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002686/1.024, allocations: 25.22 kB / 1.346 GB, free: 11.52 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005528/1.025, allocations: 0.7471 MB / 1.347 GB, free: 10.83 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004117/1.025, allocations: 164.3 kB / 1.347 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.025, allocations: 0 / 1.347 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/1.025, allocations: 36.48 kB / 1.347 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/1.025, allocations: 17.47 kB / 1.347 GB, free: 10.72 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/1.027, allocations: 1.694 MB / 1.349 GB, free: 9.285 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/1.028, allocations: 0.6876 MB / 1.349 GB, free: 8.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.065e-05/1.028, allocations: 8.281 kB / 1.349 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/1.028, allocations: 18.19 kB / 1.349 GB, free: 8.574 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/1.028, allocations: 0 / 1.349 GB, free: 8.574 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/1.048, allocations: 2.617 MB / 1.352 GB, free: 8.086 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/9.391, allocations: 12.02 kB / 1.352 GB, free: 8.078 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.11017673497554] Failed to read output from testmodel.py, exit status != 0: 9.522340272029396 9.542884304 8.521928513 Calling exit ...