Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.001797/0.001797, allocations: 115.6 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.002101/0.002101, 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.662/1.662, 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 3.086/3.086, allocations: 0.5003 GB / 0.8026 GB, free: 6.754 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.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",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.002021/0.002021, allocations: 63.91 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194/1.196, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002113/1.198, allocations: 0.7423 MB / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00211/1.2, allocations: 1.625 MB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/1.2, allocations: 1.062 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/1.2, allocations: 8.625 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001837/1.201, allocations: 18.38 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/1.201, allocations: 170 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/1.201, allocations: 121.4 kB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/1.201, allocations: 14.2 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/1.201, allocations: 50.69 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/1.202, allocations: 54.77 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/1.202, allocations: 11 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/1.202, allocations: 127.2 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/1.202, allocations: 24.42 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/1.202, allocations: 44.2 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/1.202, allocations: 227.7 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.202, allocations: 0.7969 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/1.202, allocations: 0 / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.202, allocations: 0 / 1.343 GB, free: 14.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006961/1.203, allocations: 435.6 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.203, allocations: 11 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.016e-05/1.203, allocations: 1.938 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/1.203, allocations: 37.89 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/1.203, allocations: 24.48 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/1.203, allocations: 179.5 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/1.204, allocations: 36.34 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/1.204, allocations: 14.09 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/1.204, allocations: 105.5 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.204, allocations: 0 / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/1.204, allocations: 4.609 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.204, allocations: 2.312 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/1.204, allocations: 44.58 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/1.205, allocations: 0.5211 MB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/1.205, allocations: 133.9 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/1.205, allocations: 47.95 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/1.205, allocations: 2.172 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/1.205, allocations: 112.2 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/1.205, allocations: 0 / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003325/1.206, allocations: 147.8 kB / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1.206, allocations: 106.2 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/1.206, allocations: 128.8 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.206, allocations: 31.73 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/1.206, allocations: 96.56 kB / 1.345 GB, free: 12.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/1.206, allocations: 34.3 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/1.206, allocations: 37.64 kB / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/1.206, allocations: 320.1 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-05/1.206, allocations: 34.75 kB / 1.346 GB, free: 11.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.208e-05/1.206, allocations: 36.23 kB / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/1.206, allocations: 79.91 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.206, allocations: 4 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002589/1.207, allocations: 131.5 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.207, allocations: 5.25 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/1.207, allocations: 0.8438 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.207, allocations: 1.344 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/1.207, allocations: 22.44 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.207, allocations: 4.875 kB / 1.346 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/1.207, allocations: 19.03 kB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/1.207, allocations: 4.516 kB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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 7.705e-05/1.207, allocations: 129 kB / 1.346 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/1.207, allocations: 8.812 kB / 1.346 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/1.207, allocations: 116.6 kB / 1.346 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/1.207, allocations: 2.25 kB / 1.346 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.207, allocations: 1.062 kB / 1.346 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.207, allocations: 5.656 kB / 1.346 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/1.207, allocations: 218.7 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.207, allocations: 0 / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-05/1.207, allocations: 22.14 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.207, allocations: 2.281 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1.207, allocations: 2.219 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.208, allocations: 9.969 kB / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.208, allocations: 1.375 kB / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/1.208, allocations: 177.5 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/1.208, allocations: 99.45 kB / 1.347 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/1.208, allocations: 7.359 kB / 1.347 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/1.208, allocations: 5.984 kB / 1.347 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/1.208, allocations: 18.92 kB / 1.347 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/1.208, allocations: 4.719 kB / 1.347 GB, free: 11.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.257e-05/1.208, allocations: 101.3 kB / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.208, allocations: 0 / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003272/1.208, allocations: 74.92 kB / 1.347 GB, free: 10.96 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.0005702/1.209, allocations: 0.785 MB / 1.348 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002474/1.209, allocations: 86.56 kB / 1.348 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.209, allocations: 0 / 1.348 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/1.209, allocations: 60.33 kB / 1.348 GB, free: 10.22 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/1.209, allocations: 17.12 kB / 1.348 GB, free: 10.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/1.211, allocations: 1.546 MB / 1.349 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/1.211, allocations: 0.7107 MB / 1.35 GB, free: 8.191 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.877e-05/1.211, allocations: 17.91 kB / 1.35 GB, free: 8.188 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/1.211, allocations: 35.69 kB / 1.35 GB, free: 8.168 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/1.211, allocations: 0 / 1.35 GB, free: 8.168 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/1.234, allocations: 3.27 MB / 1.353 GB, free: 7.656 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/9.764, allocations: 7.375 kB / 1.353 GB, free: 7.652 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.545566372049507] Failed to read output from testmodel.py, exit status != 0: 9.892132915963884 9.912111989 8.70636615 Calling exit ...