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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_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.001059/0.001059, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.00111/0.00111, allocations: 198.2 kB / 16.14 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.474/2.474, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.14 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.279, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002078/0.2811, allocations: 0.7934 MB / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.283, allocations: 1.544 MB / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.2831, allocations: 0 / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.2832, allocations: 0 / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.2833, allocations: 19.84 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.2837, allocations: 123.7 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.2839, allocations: 127.6 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.2839, allocations: 12 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.2841, allocations: 35.91 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.2842, allocations: 55.75 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.2842, allocations: 4 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.2844, allocations: 75.88 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.2844, allocations: 15.98 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.2845, allocations: 39.8 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.2847, allocations: 195.7 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.2848, allocations: 0 / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.42e-07/0.2848, allocations: 0 / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2848, allocations: 0 / 1.055 GB, free: 5.129 MB / 0.8106 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.0006802/0.2855, allocations: 427.1 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2855, allocations: 11.97 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.2855, allocations: 42.75 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.2856, allocations: 8.844 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2857, allocations: 172.3 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/0.2858, allocations: 42.19 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2858, allocations: 8.375 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.286, allocations: 111.3 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.892e-06/0.286, allocations: 0 / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.286, allocations: 4 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2861, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.2862, allocations: 47.92 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.2868, allocations: 0.5243 MB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.2872, allocations: 131.7 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/0.2873, allocations: 50.66 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2873, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.2875, allocations: 105.9 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.2875, allocations: 3.938 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003051/0.2879, allocations: 145.5 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2879, allocations: 110.8 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.288, allocations: 117.8 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.288, allocations: 33.7 kB / 1.057 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.2881, allocations: 92.31 kB / 1.057 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.2881, allocations: 35.5 kB / 1.057 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.2882, allocations: 37.69 kB / 1.057 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.2883, allocations: 322.8 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2884, allocations: 39.98 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.161e-05/0.2885, allocations: 38.23 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.2887, allocations: 84.77 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2887, allocations: 0 / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002344/0.2889, allocations: 124.9 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2889, allocations: 8 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2889, allocations: 0 / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2889, allocations: 0 / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.2891, allocations: 23.98 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2891, allocations: 11.92 kB / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/0.2892, allocations: 12.12 kB / 1.058 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.2892, allocations: 4 kB / 1.058 GB, free: 1.945 MB / 0.8106 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.0001131/0.2893, allocations: 132.3 kB / 1.058 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.2894, allocations: 7.906 kB / 1.058 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.2896, allocations: 118.1 kB / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2896, allocations: 0 / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2896, allocations: 0 / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.2897, allocations: 11.92 kB / 1.058 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.2899, allocations: 217.5 kB / 1.058 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2899, allocations: 0 / 1.058 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.766e-05/0.29, allocations: 16 kB / 1.058 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.29, allocations: 3.938 kB / 1.058 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.29, allocations: 7.984 kB / 1.058 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.29, allocations: 4 kB / 1.058 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.29, allocations: 0 / 1.058 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.2903, allocations: 174.6 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.2904, allocations: 100.9 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.2905, allocations: 8 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.2905, allocations: 11.92 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.2906, allocations: 23.86 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2906, allocations: 4 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.87e-05/0.2907, allocations: 99.27 kB / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2907, allocations: 0 / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003092/0.291, allocations: 59.84 kB / 1.059 GB, free: 0.8594 MB / 0.8106 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.0006959/0.2917, allocations: 0.7584 MB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.292, allocations: 95.95 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.292, allocations: 0 / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.2921, allocations: 55.86 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.2924, allocations: 22.25 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.2942, allocations: 1.547 MB / 1.061 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.2945, allocations: 0.7082 MB / 1.062 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.335e-05/0.2946, allocations: 16.67 kB / 1.062 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.2947, allocations: 35.42 kB / 1.062 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2947, allocations: 0 / 1.062 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.3075, allocations: 2.76 MB / 1.065 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.3078, allocations: 227 kB / 1.065 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.957, allocations: 1.125 kB / 1.065 GB, free: 10.61 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)