Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.808/1.808, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.001087/0.001087, allocations: 193.6 kB / 371.8 MB, free: 10.29 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.671/1.671, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009883/0.0009883, allocations: 94.92 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004302, allocations: 13.98 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2085, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0007949/0.2093, allocations: 438 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2108, allocations: 1.492 MB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.2108, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.2109, allocations: 7.922 kB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.211, allocations: 11.98 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2113, allocations: 115.7 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.2114, allocations: 63.86 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.2115, allocations: 23.95 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.83e-05/0.2116, allocations: 35.86 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.2117, allocations: 47.81 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2117, allocations: 4 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.2118, allocations: 71.95 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.2118, allocations: 19.91 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.2119, allocations: 37.7 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.212, allocations: 143.8 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.212, allocations: 0 / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2121, allocations: 0 / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2121, allocations: 0 / 0.9819 GB, free: 25.1 MB / 0.6198 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.0005214/0.2126, allocations: 407.1 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2126, allocations: 8.031 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.2127, allocations: 42.55 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.2127, allocations: 7.906 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.18e-05/0.2128, allocations: 171 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.2129, allocations: 33.7 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.2129, allocations: 11.92 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2131, allocations: 105.2 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2131, allocations: 0 / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2131, allocations: 4 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2131, allocations: 3.938 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2133, allocations: 51.91 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.2138, allocations: 0.5126 MB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.2143, allocations: 139.8 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.2143, allocations: 4.062 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.2145, allocations: 113.9 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.2145, allocations: 4 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002581/0.2148, allocations: 141.5 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2148, allocations: 110.7 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.02e-05/0.2149, allocations: 125.8 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.2149, allocations: 25.7 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.215, allocations: 96.31 kB / 0.9839 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.215, allocations: 31.56 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.215, allocations: 0 / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.2151, allocations: 327 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.2152, allocations: 31.98 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.201e-05/0.2153, allocations: 49.69 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.492e-05/0.2153, allocations: 32.44 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2153, allocations: 0 / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001944/0.2155, allocations: 133.4 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2156, allocations: 8 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2156, allocations: 4.25 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2156, allocations: 3.953 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2157, allocations: 23.98 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2157, allocations: 0 / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.244e-05/0.2158, allocations: 16.16 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2158, allocations: 11.94 kB / 0.9846 GB, free: 22.06 MB / 0.6198 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.not1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.705e-05/0.2159, allocations: 121.4 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.216, allocations: 11.89 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.2161, allocations: 117.9 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2162, allocations: 4 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2162, allocations: 3.953 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2162, allocations: 7.984 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.2163, allocations: 217.5 kB / 0.9851 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2163, allocations: 0 / 0.9851 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/0.2164, allocations: 20 kB / 0.9851 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2164, allocations: 0 / 0.9851 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.2164, allocations: 11.98 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2165, allocations: 11.81 kB / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2165, allocations: 0 / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.2167, allocations: 192 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.2167, allocations: 112.8 kB / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.2167, allocations: 3.953 kB / 0.9854 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.2168, allocations: 15.98 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.2169, allocations: 7.984 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2169, allocations: 8 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.2169, allocations: 100.5 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2169, allocations: 0 / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002433/0.2172, allocations: 59.94 kB / 0.9856 GB, free: 20.95 MB / 0.6198 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 (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.000454/0.2177, allocations: 0.9187 MB / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.2178, allocations: 87.95 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2179, allocations: 3.938 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-05/0.2179, allocations: 56.11 kB / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.2181, allocations: 8.688 kB / 0.9866 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.2186, allocations: 0.6417 MB / 0.9872 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2188, allocations: 0.7043 MB / 0.9879 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.133e-05/0.2188, allocations: 16.86 kB / 0.9879 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.2189, allocations: 35.42 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2189, allocations: 7.938 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.232, allocations: 2.696 MB / 0.9906 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/0.2323, allocations: 212.7 kB / 0.9908 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/1.698, allocations: 2.953 kB / 0.9908 GB, free: 15.56 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)