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.284/2.284, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.0012/0.0012, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.718/1.718, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.001022/0.001022, allocations: 95.75 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.314e-05/5.316e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2925, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9444/1.237, allocations: 150.9 MB / 1.366 GB, free: 3.191 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/1.237, allocations: 76.88 kB / 1.366 GB, free: 3.148 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01011/1.247, allocations: 3.471 MB / 1.37 GB, free: 216 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.793e-06/1.247, allocations: 4 kB / 1.37 GB, free: 212 kB / 0.823 GB Notification: Performance of Transformations before backend: time 6.252e-06/1.247, allocations: 0 / 1.37 GB, free: 212 kB / 0.823 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.0004924/1.248, allocations: 409.6 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/1.248, allocations: 8.031 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/1.248, allocations: 42.05 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/1.248, allocations: 11.86 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/1.248, allocations: 174.8 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/1.248, allocations: 33.64 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/1.248, allocations: 11.67 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/1.248, allocations: 98.86 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/1.248, allocations: 4 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/1.248, allocations: 0 / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.248, allocations: 3.938 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.392e-05/1.249, allocations: 50.11 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/1.249, allocations: 0.5154 MB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/1.25, allocations: 140.2 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/1.25, allocations: 49.12 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/1.25, allocations: 0 / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/1.25, allocations: 113.7 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/1.25, allocations: 3.938 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000236/1.25, allocations: 112.4 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/1.25, allocations: 110.8 kB / 1.372 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/1.25, allocations: 120.1 kB / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/1.25, allocations: 25.7 kB / 1.372 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/1.25, allocations: 98.78 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/1.25, allocations: 27.06 kB / 1.372 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/1.25, allocations: 3.875 kB / 1.372 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/1.25, allocations: 322.5 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/1.251, allocations: 27.31 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.83e-05/1.251, allocations: 41.5 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.709e-05/1.251, allocations: 34.62 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.251, allocations: 0 / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000189/1.251, allocations: 128.5 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.251, allocations: 8 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/1.251, allocations: 0 / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/1.251, allocations: 3.953 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/1.251, allocations: 19.98 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/1.251, allocations: 0 / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/1.251, allocations: 15.94 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/1.251, allocations: 11.92 kB / 1.372 GB, free: 13.44 MB / 0.8386 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.492e-05/1.251, allocations: 110.5 kB / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/1.251, allocations: 11.94 kB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/1.251, allocations: 117.8 kB / 1.373 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.252, allocations: 7.953 kB / 1.373 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.252, allocations: 4 kB / 1.373 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/1.252, allocations: 0 / 1.373 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/1.252, allocations: 219.9 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.252, allocations: 4.125 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.156e-05/1.252, allocations: 19.98 kB / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.252, allocations: 0 / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/1.252, allocations: 7.188 kB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.252, allocations: 0 / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.252, allocations: 7.891 kB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/1.252, allocations: 195.2 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.154e-05/1.252, allocations: 104.2 kB / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/1.252, allocations: 7.203 kB / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/1.252, allocations: 11.98 kB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/1.252, allocations: 15.36 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.252, allocations: 4 kB / 1.373 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.439e-05/1.252, allocations: 105.6 kB / 1.373 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.252, allocations: 0 / 1.373 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002391/1.253, allocations: 55.44 kB / 1.373 GB, free: 12.44 MB / 0.8386 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.0005748/1.253, allocations: 0.9278 MB / 1.374 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001712/1.253, allocations: 93.86 kB / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.253, allocations: 0 / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.151e-05/1.254, allocations: 53.83 kB / 1.374 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/1.254, allocations: 11.84 kB / 1.374 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/1.254, allocations: 226 kB / 1.375 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/1.254, allocations: 0.7043 MB / 1.375 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.125e-05/1.254, allocations: 16.55 kB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/1.254, allocations: 32.67 kB / 1.375 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.254, allocations: 0 / 1.375 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/1.267, allocations: 2.692 MB / 1.378 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/1.268, allocations: 180.2 kB / 1.378 GB, free: 7.648 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.851, allocations: 0 / 1.378 GB, free: 7.648 MB / 0.8386 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