Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001678/0.001678, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002014/0.002014, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.058/3.058, allocations: 0.49 GB / 0.7923 GB, free: 1.453 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_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.001983/0.001983, allocations: 63.89 kB / 1.149 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.159, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002207/1.161, allocations: 0.7285 MB / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001986/1.163, allocations: 1.629 MB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/1.163, allocations: 0 / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/1.163, allocations: 3.938 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001961/1.163, allocations: 21.7 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/1.164, allocations: 166.2 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/1.164, allocations: 120.7 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/1.164, allocations: 16.67 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/1.164, allocations: 56.16 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/1.164, allocations: 57.48 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/1.164, allocations: 11 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/1.164, allocations: 125.9 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/1.164, allocations: 18.09 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/1.165, allocations: 51.03 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/1.165, allocations: 218.5 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.165, allocations: 4 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.044e-06/1.165, allocations: 0 / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.165, allocations: 2.844 kB / 1.325 GB, free: 22.74 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.0007694/1.166, allocations: 427.9 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.166, allocations: 18.12 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.507e-05/1.166, allocations: 4.125 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/1.166, allocations: 41.47 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/1.166, allocations: 24.62 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/1.166, allocations: 188.4 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-05/1.166, allocations: 29.17 kB / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/1.166, allocations: 13.22 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/1.166, allocations: 104.5 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/1.167, allocations: 4 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/1.167, allocations: 2.562 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/1.167, allocations: 2.562 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/1.167, allocations: 48.31 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/1.167, allocations: 0.5205 MB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/1.168, allocations: 131.6 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.933e-05/1.168, allocations: 43.2 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/1.168, allocations: 4.062 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/1.168, allocations: 111.6 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/1.168, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.000328/1.168, allocations: 145.2 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/1.168, allocations: 113.3 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/1.168, allocations: 124.4 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.169, allocations: 32.17 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/1.169, allocations: 94.41 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/1.169, allocations: 29.66 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/1.169, allocations: 37.81 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.077e-05/1.169, allocations: 324.8 kB / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/1.169, allocations: 33.38 kB / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.059e-05/1.169, allocations: 36.17 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/1.169, allocations: 77.02 kB / 1.327 GB, free: 20.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.169, allocations: 0 / 1.327 GB, free: 20.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002435/1.169, allocations: 130.7 kB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.169, allocations: 5.906 kB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.169, allocations: 3.938 kB / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.169, allocations: 3.938 kB / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/1.169, allocations: 30.05 kB / 1.327 GB, free: 20.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.169, allocations: 2.875 kB / 1.327 GB, free: 20.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/1.17, allocations: 10.83 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/1.17, allocations: 3.031 kB / 1.327 GB, free: 20.23 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 8.237e-05/1.17, allocations: 131.7 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/1.17, allocations: 9.516 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/1.17, allocations: 129.1 kB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/1.17, allocations: 2.906 kB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.17, allocations: 0 / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.17, allocations: 3.938 kB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/1.17, allocations: 220.4 kB / 1.328 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.17, allocations: 0 / 1.328 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.696e-05/1.17, allocations: 16.8 kB / 1.328 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/1.17, allocations: 2.062 kB / 1.328 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.17, allocations: 1.594 kB / 1.328 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/1.17, allocations: 4.625 kB / 1.328 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.17, allocations: 1.312 kB / 1.328 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/1.17, allocations: 181.3 kB / 1.328 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/1.171, allocations: 97.45 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/1.171, allocations: 6.219 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/1.171, allocations: 7.75 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/1.171, allocations: 17.28 kB / 1.328 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/1.171, allocations: 8.812 kB / 1.328 GB, free: 19.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.145e-05/1.171, allocations: 99.55 kB / 1.328 GB, free: 19.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.171, allocations: 0 / 1.328 GB, free: 19.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003696/1.171, allocations: 68.58 kB / 1.328 GB, free: 19.45 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.0007079/1.172, allocations: 0.7879 MB / 1.329 GB, free: 18.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002826/1.172, allocations: 89.89 kB / 1.329 GB, free: 18.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.172, allocations: 1 kB / 1.329 GB, free: 18.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/1.172, allocations: 47.53 kB / 1.329 GB, free: 18.72 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/1.173, allocations: 15.77 kB / 1.329 GB, free: 18.71 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/1.174, allocations: 1.551 MB / 1.331 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/1.174, allocations: 0.7023 MB / 1.331 GB, free: 16.69 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.457e-05/1.174, allocations: 23.77 kB / 1.332 GB, free: 16.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.509e-05/1.175, allocations: 37.66 kB / 1.332 GB, free: 16.65 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/1.175, allocations: 5.094 kB / 1.332 GB, free: 16.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/1.197, allocations: 3.261 MB / 1.335 GB, free: 16.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/9.816, allocations: 5.062 kB / 1.335 GB, free: 16.14 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.491538926027715] Failed to read output from testmodel.py, exit status != 0: 9.947692668007221 9.970711105 8.801018808 Calling exit ...