Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.408/2.408, allocations: 248.5 MB / 261.1 MB, free: 6.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 186.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.2 MB / 0.571 GB, free: 11.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 100.7 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.296e-05/4.313e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2376, allocations: 106.2 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8699/1.108, allocations: 133.4 MB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.108, allocations: 70.59 kB / 1.021 GB, free: 1.898 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54:32:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01692/1.125, allocations: 3.397 MB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.168e-06/1.125, allocations: 3.984 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.125, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008/1.126, allocations: 417.3 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.126, allocations: 8.031 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.506e-05/1.126, allocations: 42.3 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/1.126, allocations: 15.86 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/1.126, allocations: 168.5 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.492e-05/1.126, allocations: 33.69 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/1.126, allocations: 11.81 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/1.127, allocations: 102 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.127, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/1.127, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/1.127, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/1.127, allocations: 53.03 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/1.128, allocations: 0.5113 MB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007383/1.128, allocations: 142.1 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/1.129, allocations: 45.58 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/1.129, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/1.129, allocations: 115.8 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/1.129, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0003771/1.129, allocations: 111.1 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/1.129, allocations: 106.8 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/1.13, allocations: 119.2 kB / 1.026 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/1.13, allocations: 28.83 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/1.13, allocations: 98.94 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/1.13, allocations: 26.88 kB / 1.026 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/1.13, allocations: 7.656 kB / 1.026 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.13, allocations: 318.8 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/1.13, allocations: 29.38 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/1.13, allocations: 48.33 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/1.13, allocations: 30.17 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.13, allocations: 0 / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000334/1.131, allocations: 134.2 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.131, allocations: 6.656 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.131, allocations: 7.953 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/1.131, allocations: 4 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/1.131, allocations: 15.98 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.131, allocations: 4 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/1.131, allocations: 19.53 kB / 1.027 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/1.131, allocations: 7.984 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.booToRea.u) * Number of discrete 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.0001105/1.131, allocations: 108 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/1.131, allocations: 11.16 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/1.132, allocations: 115.3 kB / 1.027 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.132, allocations: 7.953 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.132, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/1.132, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/1.132, allocations: 218.2 kB / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.132, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/1.132, allocations: 19.98 kB / 1.027 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/1.132, allocations: 4 kB / 1.027 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/1.132, allocations: 15.81 kB / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.132, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.132, allocations: 3.953 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/1.133, allocations: 193.3 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/1.133, allocations: 100.1 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/1.133, allocations: 7.438 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/1.133, allocations: 11.61 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/1.133, allocations: 11.98 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/1.133, allocations: 15.25 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001215/1.133, allocations: 102 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.133, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004119/1.134, allocations: 59.31 kB / 1.028 GB, free: 11.18 MB / 0.6511 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.booToRea.u) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * 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.00101/1.135, allocations: 0.9159 MB / 1.029 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003023/1.135, allocations: 92.3 kB / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.135, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/1.135, allocations: 49.56 kB / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/1.136, allocations: 12.56 kB / 1.029 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/1.136, allocations: 213.5 kB / 1.029 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/1.137, allocations: 0.712 MB / 1.03 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001298/1.137, allocations: 21.03 kB / 1.03 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/1.137, allocations: 31.86 kB / 1.03 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/1.137, allocations: 0 / 1.03 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/1.166, allocations: 2.658 MB / 1.033 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/1.166, allocations: 166.4 kB / 1.033 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.67, allocations: 2.531 kB / 1.033 GB, free: 6.422 MB / 0.6511 GB