Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001407/0.001407, allocations: 172.8 kB / 487.4 MB, free: 5.062 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.676/1.676, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009573, allocations: 90.78 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.301e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3313, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.41, allocations: 149.4 MB / 1.352 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.411, allocations: 71.89 kB / 1.352 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01127/1.422, allocations: 3.44 MB / 1.355 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/1.422, allocations: 0.9375 kB / 1.355 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.422, allocations: 3.906 kB / 1.355 GB, free: 33.96 MB / 0.8386 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.0005301/1.422, allocations: 412.5 kB / 1.356 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.423, allocations: 15.72 kB / 1.356 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/1.423, allocations: 11.27 kB / 1.356 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/1.423, allocations: 181.1 kB / 1.356 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.423, allocations: 0 / 1.356 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/1.423, allocations: 8.391 kB / 1.356 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001066/1.423, allocations: 35.98 kB / 1.356 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/1.423, allocations: 92.58 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.423, allocations: 7.75 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.423, allocations: 0 / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/1.423, allocations: 4 kB / 1.356 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/1.424, allocations: 0.4964 MB / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/1.424, allocations: 126.9 kB / 1.357 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/1.424, allocations: 50.33 kB / 1.357 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/1.424, allocations: 3.516 kB / 1.357 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/1.424, allocations: 101.4 kB / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/1.424, allocations: 0 / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0007365/1.425, allocations: 171.6 kB / 1.357 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/1.425, allocations: 115.2 kB / 1.357 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/1.425, allocations: 118.3 kB / 1.357 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/1.425, allocations: 33.52 kB / 1.357 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/1.425, allocations: 94.11 kB / 1.357 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/1.425, allocations: 29.05 kB / 1.357 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/1.425, allocations: 0 / 1.357 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.426, allocations: 316.5 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/1.426, allocations: 37.62 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/1.426, allocations: 37.81 kB / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/1.426, allocations: 136.3 kB / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.426, allocations: 0 / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008909/1.427, allocations: 219.4 kB / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.427, allocations: 6.125 kB / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/1.427, allocations: 0 / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.427, allocations: 3.844 kB / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/1.428, allocations: 22.38 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/1.428, allocations: 3.984 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.713e-05/1.428, allocations: 21.41 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/1.428, allocations: 9.422 kB / 1.358 GB, free: 31.91 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): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.7e-05/1.428, allocations: 104.9 kB / 1.358 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006684/1.428, allocations: 171.1 kB / 1.358 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/1.428, allocations: 7.75 kB / 1.358 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/1.429, allocations: 112.3 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.429, allocations: 3.844 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.429, allocations: 3.953 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.429, allocations: 3.844 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/1.429, allocations: 190.9 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.429, allocations: 0.875 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/1.429, allocations: 18.38 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.429, allocations: 0 / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/1.429, allocations: 9.578 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.429, allocations: 3.938 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.429, allocations: 7.812 kB / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/1.43, allocations: 250.8 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/1.43, allocations: 105 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/1.43, allocations: 0 / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/1.43, allocations: 18.17 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/1.43, allocations: 13.17 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.43, allocations: 3.844 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.55e-05/1.43, allocations: 97.94 kB / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.002e-06/1.43, allocations: 0 / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002988/1.43, allocations: 61.23 kB / 1.359 GB, free: 31.22 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.001111/1.431, allocations: 0.9734 MB / 1.36 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005694/1.432, allocations: 0.7628 MB / 1.361 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.432, allocations: 4.031 kB / 1.361 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/1.432, allocations: 44.62 kB / 1.361 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/1.432, allocations: 8.094 kB / 1.361 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/1.433, allocations: 212.5 kB / 1.361 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/1.433, allocations: 0.7079 MB / 1.362 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.249e-05/1.433, allocations: 15.42 kB / 1.362 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/1.433, allocations: 35.19 kB / 1.362 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.433, allocations: 0 / 1.362 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/1.458, allocations: 2.366 MB / 1.364 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/1.459, allocations: 164.5 kB / 1.365 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.995, allocations: 0 / 1.365 GB, free: 28.48 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat does not exist to compare? outputFormat=mat