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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.384/2.384, allocations: 393.5 MB / 408.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 191.5 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.1 MB / 0.7992 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001147, allocations: 98.88 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.000352, allocations: 10.16 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2884, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.4758, allocations: 151 MB / 1.377 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.476, allocations: 71.95 kB / 1.377 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01104/0.4871, allocations: 3.485 MB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4871, allocations: 0 / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.4871, allocations: 4 kB / 1.38 GB, free: 15.04 MB / 0.8855 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.0006719/0.4878, allocations: 431.2 kB / 1.381 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4879, allocations: 15.91 kB / 1.381 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.4879, allocations: 38.56 kB / 1.381 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.488, allocations: 11.86 kB / 1.381 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.4881, allocations: 171.1 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.4882, allocations: 33.7 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.4882, allocations: 12 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4884, allocations: 100.2 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.4885, allocations: 0 / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4885, allocations: 0 / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.4885, allocations: 4 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.4886, allocations: 39.98 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.4894, allocations: 0.5322 MB / 1.382 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.4899, allocations: 135.8 kB / 1.382 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.4899, allocations: 0 / 1.382 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.4901, allocations: 125.8 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.4901, allocations: 0 / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0003539/0.4905, allocations: 141.5 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.4906, allocations: 110.7 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.4907, allocations: 113 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.4907, allocations: 29.7 kB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.4908, allocations: 92.45 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.4908, allocations: 39.53 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.4909, allocations: 4 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.491, allocations: 326.8 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.4911, allocations: 31.98 kB / 1.383 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.4912, allocations: 35.98 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.151e-05/0.4913, allocations: 34.81 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4913, allocations: 0 / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002468/0.4916, allocations: 129.5 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4916, allocations: 8 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4916, allocations: 0 / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4916, allocations: 3.953 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4918, allocations: 23.92 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4918, allocations: 0 / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.495e-05/0.4919, allocations: 15.98 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.4919, allocations: 4 kB / 1.383 GB, free: 12 MB / 0.8855 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 () * 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.0001095/0.492, allocations: 120.7 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.492, allocations: 11.91 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.4923, allocations: 126 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.4923, allocations: 4 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4923, allocations: 3.953 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4923, allocations: 0 / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.4925, allocations: 213.5 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4925, allocations: 7.984 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4927, allocations: 23.94 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4927, allocations: 4 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4927, allocations: 4.25 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.4927, allocations: 7.984 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4927, allocations: 4 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.493, allocations: 201.9 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.4931, allocations: 101 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.4931, allocations: 7.953 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4933, allocations: 12 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.4933, allocations: 11.97 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.4934, allocations: 4 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.415e-05/0.4934, allocations: 102.9 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4935, allocations: 0 / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003094/0.4938, allocations: 67.88 kB / 1.384 GB, free: 10.86 MB / 0.8855 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) * 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.0007828/0.4946, allocations: 0.9247 MB / 1.385 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.4948, allocations: 95.89 kB / 1.385 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4948, allocations: 0 / 1.385 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.4949, allocations: 51.92 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.4951, allocations: 9.125 kB / 1.385 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.4959, allocations: 0.4977 MB / 1.385 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4961, allocations: 0.7083 MB / 1.386 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.479e-05/0.4962, allocations: 16.67 kB / 1.386 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.4963, allocations: 31.42 kB / 1.386 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.4963, allocations: 0 / 1.386 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.5119, allocations: 2.639 MB / 1.389 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.5122, allocations: 198.8 kB / 1.389 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.125, allocations: 2.672 kB / 1.389 GB, free: 5.715 MB / 0.8855 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) 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