Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008899/0.00089, allocations: 92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008733/0.0008733, allocations: 11.53 kB / 0.6738 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2875, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001064/0.2886, allocations: 453.6 kB / 0.7878 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.2907, allocations: 1.515 MB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.2908, allocations: 4 kB / 0.7893 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.2908, allocations: 3.938 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.291, allocations: 7.922 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.2913, allocations: 123.7 kB / 0.7894 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.2915, allocations: 107.7 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.2916, allocations: 8 kB / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2917, allocations: 39.84 kB / 0.7896 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.2918, allocations: 47.81 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.2918, allocations: 8 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.292, allocations: 67.95 kB / 0.7897 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.292, allocations: 19.91 kB / 0.7897 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.2921, allocations: 41.64 kB / 0.7898 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2923, allocations: 151.8 kB / 0.7899 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2923, allocations: 0 / 0.7899 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2923, allocations: 0 / 0.7899 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2923, allocations: 0 / 0.7899 GB, free: 9.262 MB / 0.6075 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.0007111/0.293, allocations: 415 kB / 0.7903 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2931, allocations: 8.031 kB / 0.7903 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.2931, allocations: 38.55 kB / 0.7904 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.2932, allocations: 11.91 kB / 0.7904 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2933, allocations: 174.9 kB / 0.7905 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.974e-05/0.2934, allocations: 33.69 kB / 0.7906 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.2934, allocations: 11.94 kB / 0.7906 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.2936, allocations: 103.1 kB / 0.7907 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2936, allocations: 0 / 0.7907 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.2937, allocations: 7.984 kB / 0.7907 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2937, allocations: 4 kB / 0.7907 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.761e-05/0.2938, allocations: 43.91 kB / 0.7907 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.2944, allocations: 0.5205 MB / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.2949, allocations: 135.7 kB / 0.7914 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.295, allocations: 46.52 kB / 0.7914 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.295, allocations: 8.141 kB / 0.7914 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.2952, allocations: 117.8 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 3.266e-06/0.2953, allocations: 0 / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0003459/0.2956, allocations: 145.4 kB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.2957, allocations: 102.8 kB / 0.7918 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2958, allocations: 129.7 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.2959, allocations: 41.77 kB / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.2959, allocations: 84.42 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.296, allocations: 31.55 kB / 0.792 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.296, allocations: 4 kB / 0.792 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2961, allocations: 318.8 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.2962, allocations: 31.98 kB / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.297e-05/0.2963, allocations: 35.98 kB / 0.7924 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.895e-05/0.2964, allocations: 39.98 kB / 0.7925 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2964, allocations: 4 kB / 0.7925 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002533/0.2967, allocations: 129.5 kB / 0.7926 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2967, allocations: 8 kB / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2967, allocations: 0 / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2968, allocations: 3.953 kB / 0.7926 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2969, allocations: 19.98 kB / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2969, allocations: 0 / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.752e-05/0.297, allocations: 23.83 kB / 0.7926 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.297, allocations: 0 / 0.7926 GB, free: 6.18 MB / 0.6075 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 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.2971, allocations: 130.7 kB / 0.7928 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.2972, allocations: 11.89 kB / 0.7928 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.2974, allocations: 114.1 kB / 0.7929 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2974, allocations: 4 kB / 0.7929 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.2975, allocations: 3.953 kB / 0.7929 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2975, allocations: 7.984 kB / 0.7929 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.2977, allocations: 221.4 kB / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2977, allocations: 0 / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.781e-05/0.2978, allocations: 16 kB / 0.7931 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2978, allocations: 4 kB / 0.7931 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2978, allocations: 7.984 kB / 0.7931 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2978, allocations: 0 / 0.7931 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.2978, allocations: 4 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.2982, allocations: 176.8 kB / 0.7933 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.2983, allocations: 104.9 kB / 0.7934 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.2983, allocations: 4 kB / 0.7934 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.2984, allocations: 8 kB / 0.7934 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.2985, allocations: 19.92 kB / 0.7934 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2985, allocations: 8 kB / 0.7934 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.178e-05/0.2986, allocations: 99.27 kB / 0.7935 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2986, allocations: 0 / 0.7935 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002822/0.2988, allocations: 55.94 kB / 0.7936 GB, free: 5.094 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007995/0.2997, allocations: 0.7622 MB / 0.7943 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.2999, allocations: 106.9 kB / 0.7944 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2999, allocations: 0 / 0.7944 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.864e-05/0.3, allocations: 51.92 kB / 0.7945 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.3003, allocations: 8 kB / 0.7945 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3014, allocations: 0.6878 MB / 0.7952 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3018, allocations: 0.7043 MB / 0.7959 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.645e-05/0.3019, allocations: 12.69 kB / 0.7959 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.3019, allocations: 31.42 kB / 0.7959 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3019, allocations: 3.938 kB / 0.7959 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.3162, allocations: 2.761 MB / 0.7986 GB, free: 20 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.3164, allocations: 203.9 kB / 0.7988 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.263, allocations: 4 kB / 0.7988 GB, free: 15.78 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) Environment - environmentSimulation: