Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_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.001425/0.001425, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00184/0.00184, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.533/2.533, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.478/4.478, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006569/0.0006571, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419/1.419, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001328/1.421, allocations: 446.1 kB / 0.9813 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002925/1.424, allocations: 1.463 MB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/1.424, allocations: 0 / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/1.424, allocations: 7.938 kB / 0.9827 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002932/1.424, allocations: 23.89 kB / 0.9827 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/1.425, allocations: 119.6 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/1.425, allocations: 67.91 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/1.425, allocations: 12 kB / 0.9829 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/1.425, allocations: 47.83 kB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/1.426, allocations: 47.81 kB / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/1.426, allocations: 4 kB / 0.983 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/1.426, allocations: 71.95 kB / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/1.426, allocations: 15.98 kB / 0.9831 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/1.426, allocations: 37.64 kB / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/1.426, allocations: 153.9 kB / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.426, allocations: 0 / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.268e-06/1.426, allocations: 0 / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.426, allocations: 0 / 0.9833 GB, free: 3.77 MB / 0.7325 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.001047/1.427, allocations: 407 kB / 0.9837 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/1.427, allocations: 8.031 kB / 0.9837 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/1.427, allocations: 38.56 kB / 0.9837 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/1.428, allocations: 11.89 kB / 0.9837 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/1.428, allocations: 178.8 kB / 0.9839 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-05/1.428, allocations: 37.7 kB / 0.9839 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/1.428, allocations: 8 kB / 0.984 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/1.428, allocations: 111.5 kB / 0.9841 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.428, allocations: 0 / 0.9841 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/1.428, allocations: 4 kB / 0.9841 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/1.428, allocations: 3.938 kB / 0.9841 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/1.428, allocations: 47.97 kB / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/1.43, allocations: 0.5166 MB / 0.9846 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/1.43, allocations: 139.8 kB / 0.9848 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/1.43, allocations: 3.984 kB / 0.9848 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000378/1.431, allocations: 114 kB / 0.9849 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/1.431, allocations: 7.938 kB / 0.9849 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005446/1.431, allocations: 137.5 kB / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/1.431, allocations: 106.8 kB / 0.9851 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/1.432, allocations: 133.7 kB / 0.9852 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/1.432, allocations: 29.7 kB / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/1.432, allocations: 100.3 kB / 0.9854 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/1.432, allocations: 27.61 kB / 0.9854 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/1.432, allocations: 128 / 0.9854 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.432, allocations: 326.8 kB / 0.9857 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/1.432, allocations: 39.86 kB / 0.9857 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/1.432, allocations: 37.67 kB / 0.9858 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/1.432, allocations: 35.95 kB / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.432, allocations: 0 / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004135/1.433, allocations: 131 kB / 0.9859 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.433, allocations: 4 kB / 0.9859 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.433, allocations: 0 / 0.9859 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.433, allocations: 4 kB / 0.9859 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/1.433, allocations: 23.92 kB / 0.986 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/1.433, allocations: 0 / 0.986 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/1.433, allocations: 15.89 kB / 0.986 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/1.433, allocations: 8 kB / 0.986 GB, free: 0.7305 MB / 0.7325 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.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 0.000173/1.433, allocations: 117.8 kB / 0.9861 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/1.433, allocations: 11.91 kB / 0.9861 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/1.434, allocations: 117.9 kB / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/1.434, allocations: 4 kB / 0.9862 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.434, allocations: 0 / 0.9862 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.434, allocations: 0 / 0.9862 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/1.434, allocations: 221.5 kB / 0.9864 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.434, allocations: 3.953 kB / 0.9864 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/1.434, allocations: 23.92 kB / 0.9865 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.434, allocations: 4 kB / 0.9865 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/1.434, allocations: 4 kB / 0.9865 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/1.434, allocations: 4.312 kB / 0.9865 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.435, allocations: 3.938 kB / 0.9865 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/1.435, allocations: 202.2 kB / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/1.435, allocations: 105.1 kB / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/1.435, allocations: 4 kB / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/1.435, allocations: 8 kB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/1.435, allocations: 19.91 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/1.435, allocations: 7.984 kB / 0.9868 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001215/1.436, allocations: 99.27 kB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.436, allocations: 0 / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004798/1.436, allocations: 55.94 kB / 0.987 GB, free: 15.61 MB / 0.7481 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.001143/1.437, allocations: 0.9246 MB / 0.9879 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003579/1.438, allocations: 91.95 kB / 0.9879 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.438, allocations: 3.938 kB / 0.9879 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/1.438, allocations: 55.86 kB / 0.988 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/1.438, allocations: 11.95 kB / 0.988 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/1.439, allocations: 497.5 kB / 0.9885 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/1.44, allocations: 0.7043 MB / 0.9892 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001275/1.44, allocations: 16.55 kB / 0.9892 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/1.44, allocations: 39.36 kB / 0.9892 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/1.44, allocations: 0 / 0.9892 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/1.468, allocations: 2.73 MB / 0.9919 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000385/1.468, allocations: 203.3 kB / 0.9921 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.013/4.481, allocations: 0 / 0.9921 GB, free: 10.38 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat does not exist to compare? outputFormat=mat