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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_11_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.001435/0.001435, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.582/2.582, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 63.53 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2567, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001901/0.2586, allocations: 0.7225 MB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.2605, allocations: 1.526 MB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.2606, allocations: 0 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.2607, allocations: 11.86 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2608, allocations: 15.88 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.2612, allocations: 155.5 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.2613, allocations: 119.7 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.334e-05/0.2614, allocations: 19.97 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2615, allocations: 51.84 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.242e-05/0.2616, allocations: 47.83 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.2617, allocations: 15.94 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.2618, allocations: 87.94 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.2619, allocations: 31.91 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.262, allocations: 43.8 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.2622, allocations: 195.8 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2622, allocations: 3.938 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2623, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.2623, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 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.0006497/0.2629, allocations: 427.1 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.263, allocations: 8.031 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.263, allocations: 38.75 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.263, allocations: 12.83 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2632, allocations: 168.3 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.426e-05/0.2632, allocations: 34.27 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.2633, allocations: 8.312 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.2635, allocations: 100.9 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2635, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2635, allocations: 8 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2635, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.67e-05/0.2636, allocations: 43.91 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.2642, allocations: 0.5204 MB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.2647, allocations: 139.7 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.2648, allocations: 50.59 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2648, allocations: 4 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.265, allocations: 109.9 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.265, allocations: 4 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0003072/0.2654, allocations: 145.4 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.2654, allocations: 110.8 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2655, allocations: 121.8 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.2656, allocations: 33.7 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.2656, allocations: 88.33 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.2657, allocations: 35.61 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.2657, allocations: 33.7 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2659, allocations: 330.9 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/0.266, allocations: 31.98 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.2661, allocations: 35.98 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.2662, allocations: 82.55 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2662, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002409/0.2665, allocations: 129.6 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2665, allocations: 5.406 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2665, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2665, allocations: 8 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2667, allocations: 19.92 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2667, allocations: 4 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.2668, allocations: 23.8 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2668, allocations: 4 kB / 1.07 GB, free: 7.949 MB / 0.8262 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 9.473e-05/0.2669, allocations: 122 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.2669, allocations: 11.84 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.2672, allocations: 117.9 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2672, allocations: 4 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2672, allocations: 0 / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.2672, allocations: 3.938 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.2674, allocations: 217.5 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2674, allocations: 4 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.922e-05/0.2675, allocations: 19.98 kB / 1.07 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2675, allocations: 4 kB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2675, allocations: 4 kB / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.2675, allocations: 7.938 kB / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2675, allocations: 320 / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.2678, allocations: 175.9 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.2679, allocations: 104.8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.2679, allocations: 7.984 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.268, allocations: 12 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.2681, allocations: 15.92 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2681, allocations: 4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.543e-05/0.2681, allocations: 104.7 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2681, allocations: 0 / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002544/0.2684, allocations: 59.92 kB / 1.071 GB, free: 6.863 MB / 0.8262 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.000639/0.2691, allocations: 0.7565 MB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.2693, allocations: 103.9 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2693, allocations: 0 / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/0.2694, allocations: 55.92 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.2696, allocations: 11.94 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.2712, allocations: 1.534 MB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.2715, allocations: 0.7041 MB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.434e-05/0.2716, allocations: 22.02 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.2717, allocations: 31.42 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2717, allocations: 4 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4172/0.6889, allocations: 2.936 MB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.85, allocations: 5.562 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB (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 --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)