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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 289.7 MB / 302.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 181.6 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 94.56 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.528e-05/4.541e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2988, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9524/1.251, allocations: 139.9 MB / 1.116 GB, free: 44.04 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.252, allocations: 71.25 kB / 1.117 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009771/1.261, allocations: 3.396 MB / 1.12 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.855e-06/1.261, allocations: 0 / 1.12 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.317e-06/1.261, allocations: 4 kB / 1.12 GB, free: 42.04 MB / 0.7448 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.000528/1.262, allocations: 422.1 kB / 1.12 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.262, allocations: 8.031 kB / 1.12 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/1.262, allocations: 37.48 kB / 1.12 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/1.262, allocations: 14.72 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/1.262, allocations: 167 kB / 1.12 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/1.262, allocations: 36.28 kB / 1.121 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/1.262, allocations: 11.88 kB / 1.121 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/1.263, allocations: 98.58 kB / 1.121 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.263, allocations: 0 / 1.121 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/1.263, allocations: 7 kB / 1.121 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.263, allocations: 0 / 1.121 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/1.263, allocations: 41.61 kB / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/1.263, allocations: 0.5212 MB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/1.264, allocations: 140.2 kB / 1.121 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/1.264, allocations: 44.7 kB / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/1.264, allocations: 0 / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/1.264, allocations: 119.7 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/1.264, allocations: 0.75 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002508/1.264, allocations: 117 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.264, allocations: 109.9 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/1.265, allocations: 117.3 kB / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/1.265, allocations: 33.27 kB / 1.122 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/1.265, allocations: 87.8 kB / 1.122 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/1.265, allocations: 42.88 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/1.265, allocations: 0 / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/1.265, allocations: 322.8 kB / 1.122 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/1.265, allocations: 28.88 kB / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/1.265, allocations: 38.17 kB / 1.122 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.99e-05/1.265, allocations: 37.83 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.265, allocations: 0 / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001915/1.265, allocations: 116.7 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.265, allocations: 8 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.265, allocations: 3.375 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.265, allocations: 4 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.265, allocations: 23.22 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.265, allocations: 3.953 kB / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/1.265, allocations: 15.45 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/1.265, allocations: 4.25 kB / 1.123 GB, free: 39.44 MB / 0.7448 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.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 6.386e-05/1.266, allocations: 111 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/1.266, allocations: 11.73 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/1.266, allocations: 121.8 kB / 1.123 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.266, allocations: 1.219 kB / 1.123 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.266, allocations: 3.328 kB / 1.123 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.266, allocations: 7.953 kB / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/1.266, allocations: 219.8 kB / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.266, allocations: 0.875 kB / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.049e-05/1.266, allocations: 26.25 kB / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/1.266, allocations: 0 / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.266, allocations: 8 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.266, allocations: 0.6562 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.266, allocations: 0.5625 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/1.266, allocations: 189.7 kB / 1.123 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/1.267, allocations: 113.4 kB / 1.123 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/1.267, allocations: 3.812 kB / 1.123 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/1.267, allocations: 15.42 kB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/1.267, allocations: 11.36 kB / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/1.267, allocations: 7.875 kB / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.377e-05/1.267, allocations: 98.36 kB / 1.123 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.31e-07/1.267, allocations: 0 / 1.123 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002838/1.267, allocations: 66.42 kB / 1.124 GB, free: 38.52 MB / 0.7448 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.0005887/1.268, allocations: 0.9142 MB / 1.124 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001793/1.268, allocations: 103.1 kB / 1.124 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.268, allocations: 0 / 1.124 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/1.268, allocations: 52.72 kB / 1.125 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/1.268, allocations: 7.812 kB / 1.125 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/1.269, allocations: 224 kB / 1.125 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/1.269, allocations: 0.7027 MB / 1.125 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.555e-05/1.269, allocations: 14.36 kB / 1.125 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/1.269, allocations: 41.97 kB / 1.126 GB, free: 36.56 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/1.269, allocations: 0 / 1.126 GB, free: 36.56 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/1.283, allocations: 2.699 MB / 1.128 GB, free: 35.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/1.283, allocations: 172.8 kB / 1.128 GB, free: 34.85 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.906, allocations: 0 / 1.128 GB, free: 34.85 MB / 0.7448 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)