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.001767/0.001767, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002187/0.002187, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.773/2.773, allocations: 476.7 MB / 0.7715 GB, free: 4.234 MB / 0.6231 GB " [Timeout remaining time 177] 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.002/0.002, allocations: 67.12 kB / 1.118 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3413, allocations: 169.9 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002005/0.3433, allocations: 0.7311 MB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3456, allocations: 1.64 MB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.3456, allocations: 0 / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.3457, allocations: 3.938 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.3458, allocations: 27.72 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.3463, allocations: 167.5 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.3465, allocations: 115.7 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.3466, allocations: 15.94 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3467, allocations: 63.77 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3469, allocations: 47.81 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.3469, allocations: 12 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.3471, allocations: 123.9 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.188e-05/0.3472, allocations: 23.98 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.3472, allocations: 43.8 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.3475, allocations: 222.8 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3475, allocations: 0 / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3475, allocations: 0 / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3475, allocations: 0 / 1.287 GB, free: 8.516 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.0006688/0.3482, allocations: 365.6 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3482, allocations: 8.031 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.717e-05/0.3483, allocations: 4.188 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.3483, allocations: 38.73 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.3486, allocations: 24.88 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3487, allocations: 126.3 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.385e-05/0.3488, allocations: 67.95 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3489, allocations: 16.12 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.349, allocations: 96.17 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3491, allocations: 3.938 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3491, allocations: 0 / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3491, allocations: 0 / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.3492, allocations: 47.97 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.3498, allocations: 496.1 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.3503, allocations: 131.7 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.3504, allocations: 46.66 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3504, allocations: 0 / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.3507, allocations: 121.9 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.3507, allocations: 0 / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003452/0.3511, allocations: 141.5 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.3512, allocations: 106.8 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3513, allocations: 129.7 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3513, allocations: 33.7 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.3514, allocations: 88.5 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.3514, allocations: 35.73 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.3514, allocations: 33.7 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3516, allocations: 322.8 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3517, allocations: 35.92 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.3518, allocations: 43.92 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.352, allocations: 79.56 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.352, allocations: 4 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002574/0.3522, allocations: 129.6 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3522, allocations: 8 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3522, allocations: 0 / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3523, allocations: 3.938 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3524, allocations: 19.98 kB / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3524, allocations: 0 / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-05/0.3525, allocations: 23.81 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3525, allocations: 4 kB / 1.29 GB, free: 5.465 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.0001087/0.3526, allocations: 118 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3526, allocations: 15.94 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.3529, allocations: 118 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3529, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3529, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3529, allocations: 7.938 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.3531, allocations: 188.6 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3531, allocations: 0 / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.3532, allocations: 27.92 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3532, allocations: 4 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3532, allocations: 4 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3532, allocations: 0 / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3532, allocations: 0 / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.3535, allocations: 178.6 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.3535, allocations: 19.88 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3535, allocations: 12 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.3536, allocations: 7.984 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.3537, allocations: 15.92 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.3537, allocations: 7.984 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.418e-05/0.3538, allocations: 105.8 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3538, allocations: 0 / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003259/0.3541, allocations: 67.75 kB / 1.291 GB, free: 4.504 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.0007588/0.3549, allocations: 0.7889 MB / 1.292 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.3551, allocations: 87.91 kB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3551, allocations: 4 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3552, allocations: 51.95 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.3554, allocations: 28.09 kB / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.3573, allocations: 1.548 MB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.3576, allocations: 0.7002 MB / 1.294 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.069e-05/0.3577, allocations: 16.48 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.3578, allocations: 35.42 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3578, allocations: 0 / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.3838, allocations: 3.404 MB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.78, allocations: 10.28 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB " [Timeout remaining time 287] (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.661456633009948] Failed to read output from testmodel.py, exit status != 0: 12.589705869031604 11.981777408 11.628794633 Calling exit ...