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.00483/0.00483, allocations: 99.84 kB / 15.73 MB, free: 6.5 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.00145/0.00145, allocations: 201.2 kB / 16.68 MB, free: 6.375 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.553/2.553, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002108, allocations: 71.83 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2639, allocations: 159.1 MB / 1.22 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001668/0.2656, allocations: 0.7208 MB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2673, allocations: 1.528 MB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.2674, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.2674, allocations: 3.938 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.2676, allocations: 31.78 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.2679, allocations: 155.5 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.2681, allocations: 111.7 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.2682, allocations: 23.97 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.2683, allocations: 51.78 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.245e-05/0.2684, allocations: 47.81 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.2684, allocations: 12 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2686, allocations: 103.9 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.2687, allocations: 27.91 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.2687, allocations: 51.73 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.269, allocations: 199.3 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.269, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.269, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2691, allocations: 0 / 1.223 GB, free: 11.31 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.000638/0.2697, allocations: 426.9 kB / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.2697, allocations: 12.03 kB / 1.224 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.2698, allocations: 38.75 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.2698, allocations: 8.891 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.27, allocations: 176.3 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.27, allocations: 42.14 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.2701, allocations: 8.375 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.2702, allocations: 100.2 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2702, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2703, allocations: 8 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2703, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.891e-05/0.2704, allocations: 43.92 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.271, allocations: 0.5127 MB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.2714, allocations: 143.7 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.2715, allocations: 46.59 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2715, allocations: 12.06 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.2717, allocations: 105.9 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 3.025e-06/0.2718, allocations: 0 / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0002949/0.2721, allocations: 141.5 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.2721, allocations: 118.9 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.2722, allocations: 125.7 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2723, allocations: 33.7 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.2723, allocations: 92.41 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.2724, allocations: 27.75 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.2724, allocations: 33.7 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2726, allocations: 326.8 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/0.2727, allocations: 35.98 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.2727, allocations: 42.52 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.2729, allocations: 84.7 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2729, allocations: 0 / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002394/0.2732, allocations: 128.4 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2732, allocations: 7.938 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2732, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.2732, allocations: 4 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2733, allocations: 15.98 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2734, allocations: 11.92 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.2735, allocations: 24.08 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.2735, allocations: 4 kB / 1.226 GB, free: 8.113 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.000101/0.2736, allocations: 126.8 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.2736, allocations: 7.953 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.2738, allocations: 110 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2738, allocations: 8 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2738, allocations: 0 / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2739, allocations: 7.922 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.2741, allocations: 213.5 kB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2741, allocations: 4 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.573e-05/0.2742, allocations: 16 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2742, allocations: 4.234 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2742, allocations: 7.922 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2742, allocations: 4 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2742, allocations: 0 / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.2745, allocations: 178.6 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.2745, allocations: 108.9 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2746, allocations: 8 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.2747, allocations: 7.984 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.2747, allocations: 15.92 kB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2747, allocations: 11.94 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.2748, allocations: 99.27 kB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2748, allocations: 0 / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002508/0.2751, allocations: 55.81 kB / 1.227 GB, free: 7.027 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.0006407/0.2757, allocations: 0.7703 MB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2759, allocations: 98.77 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2759, allocations: 0 / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.102e-05/0.276, allocations: 55.86 kB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.2762, allocations: 13.5 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.2779, allocations: 1.551 MB / 1.229 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.2782, allocations: 0.7002 MB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.885e-05/0.2783, allocations: 16.5 kB / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.2783, allocations: 35.42 kB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2783, allocations: 0 / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.431/1.709, allocations: 2.977 MB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/10.22, allocations: 14.88 kB / 1.233 GB, free: 0.8008 MB / 0.9825 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)