Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001219/0.001219, allocations: 97.92 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.001494/0.001494, allocations: 220.8 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.863/2.863, allocations: 476.8 MB / 0.7715 GB, free: 3.922 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_11_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.002076/0.002076, allocations: 63.22 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3366, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002632/0.3392, allocations: 0.71 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3418, allocations: 1.542 MB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.3419, allocations: 4 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/0.3419, allocations: 7.875 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.3421, allocations: 19.84 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.3428, allocations: 172.2 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.343, allocations: 119.6 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3431, allocations: 15.94 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.3434, allocations: 47.89 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3435, allocations: 55.81 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.3435, allocations: 12 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.3439, allocations: 119.9 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.3439, allocations: 27.86 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.253e-05/0.344, allocations: 43.78 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.3445, allocations: 222.8 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3445, allocations: 3.984 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3445, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3445, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 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.0009209/0.3454, allocations: 353.7 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.3455, allocations: 12.03 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.64e-05/0.3455, allocations: 192 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.3455, allocations: 42.73 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.346, allocations: 28.83 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.3462, allocations: 118.5 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.3463, allocations: 67.89 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.3463, allocations: 12.12 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3466, allocations: 95.86 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3466, allocations: 0 / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.3466, allocations: 7.984 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3466, allocations: 0 / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3468, allocations: 51.92 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008478/0.3476, allocations: 476 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.3483, allocations: 131.7 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3484, allocations: 50.66 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3484, allocations: 7.984 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/0.3488, allocations: 113.9 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/0.3488, allocations: 3.938 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004933/0.3493, allocations: 141.5 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.3494, allocations: 106.8 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.3496, allocations: 125.8 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.3496, allocations: 29.7 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.3498, allocations: 96.42 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.3499, allocations: 31.75 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.35, allocations: 37.69 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.3502, allocations: 323 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3504, allocations: 35.98 kB / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3505, allocations: 35.97 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.3508, allocations: 84.72 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3508, allocations: 0 / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003781/0.3511, allocations: 125.6 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3512, allocations: 6.188 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.3512, allocations: 3.984 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3512, allocations: 3.938 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.3515, allocations: 27.92 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3515, allocations: 3.938 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3516, allocations: 11.88 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3516, allocations: 8 kB / 1.29 GB, free: 4.582 MB / 0.9825 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 0.0001379/0.3518, allocations: 121.8 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.3518, allocations: 11.95 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.3522, allocations: 109.9 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.3522, allocations: 7.984 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3522, allocations: 4 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.3522, allocations: 3.938 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3524, allocations: 176.6 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3524, allocations: 3.984 kB / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3526, allocations: 16.23 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.3526, allocations: 7.938 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.3526, allocations: 4.312 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3526, allocations: 3.984 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.3526, allocations: 8 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.353, allocations: 174.1 kB / 1.29 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.353, allocations: 31.86 kB / 1.29 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.3531, allocations: 8 kB / 1.29 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3532, allocations: 8 kB / 1.29 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.3533, allocations: 19.84 kB / 1.29 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.3533, allocations: 8 kB / 1.29 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.008e-05/0.3534, allocations: 95.27 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3534, allocations: 0 / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004719/0.3538, allocations: 71.75 kB / 1.291 GB, free: 3.625 MB / 0.9825 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.001088/0.3549, allocations: 0.7738 MB / 1.291 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.3553, allocations: 95.89 kB / 1.291 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3553, allocations: 3.938 kB / 1.291 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.3554, allocations: 47.92 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.3557, allocations: 11.94 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.3586, allocations: 1.559 MB / 1.293 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3587, allocations: 81.33 kB / 1.293 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.057e-05/0.3588, allocations: 16.48 kB / 1.293 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.3589, allocations: 31.42 kB / 1.293 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3589, allocations: 4 kB / 1.293 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.3893, allocations: 3.461 MB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.98, allocations: 6.297 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.979074446950108] Failed to read output from testmodel.py, exit status != 0: 12.72725769598037 12.16475565 11.817008871 Calling exit ...