Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_10_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.009862/0.009862, allocations: 103.5 kB / 15.74 MB, free: 5.992 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.002298/0.002298, allocations: 191.9 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.412/2.412, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.8319, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001912/0.8339, allocations: 0.7255 MB / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.8358, allocations: 1.531 MB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.8359, allocations: 0 / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.836, allocations: 7.922 kB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.8362, allocations: 19.8 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.8366, allocations: 159.5 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.8368, allocations: 119.6 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.8369, allocations: 23.97 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.8371, allocations: 47.84 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.8372, allocations: 51.81 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.8372, allocations: 12 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.8374, allocations: 95.92 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.8375, allocations: 27.92 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.8376, allocations: 43.84 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.8379, allocations: 205.6 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.8379, allocations: 4 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8379, allocations: 0 / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8379, allocations: 0 / 1.169 GB, free: 0.7031 MB / 0.8887 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.0007055/0.8386, allocations: 431.1 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.8387, allocations: 8.922 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.8387, allocations: 38.75 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.8388, allocations: 8.844 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.8389, allocations: 176.2 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.726e-05/0.839, allocations: 34.27 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.839, allocations: 8.359 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.8392, allocations: 108.1 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.8392, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.8393, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.8393, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.8394, allocations: 43.91 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.84, allocations: 0.5204 MB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.8405, allocations: 131.7 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.8406, allocations: 50.66 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.8406, allocations: 4 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.8409, allocations: 121.8 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.8409, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0003369/0.8412, allocations: 149.4 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.8413, allocations: 106.8 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.8414, allocations: 129.7 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.8414, allocations: 29.7 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.8415, allocations: 88.42 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.8415, allocations: 35.61 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.8416, allocations: 33.7 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.8417, allocations: 326.9 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.8418, allocations: 35.98 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-05/0.8419, allocations: 35.98 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.8421, allocations: 75.23 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.8421, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002454/0.8423, allocations: 137.4 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.8423, allocations: 4 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8424, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.8424, allocations: 4 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.8425, allocations: 19.98 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.8425, allocations: 0 / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-05/0.8426, allocations: 19.84 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.8426, allocations: 11.86 kB / 1.172 GB, free: 13.51 MB / 0.9044 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 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.811e-05/0.8427, allocations: 126.3 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.8428, allocations: 4 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.843, allocations: 126 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.843, allocations: 4 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.843, allocations: 0 / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.843, allocations: 3.938 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.8432, allocations: 213.6 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8432, allocations: 0 / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.063e-05/0.8433, allocations: 19.98 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.8434, allocations: 4 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.8434, allocations: 4 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.8434, allocations: 4.312 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8434, allocations: 4 kB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.8437, allocations: 189.1 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.8437, allocations: 97 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.8438, allocations: 0 / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.019e-05/0.8439, allocations: 11.98 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.8439, allocations: 23.92 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.8439, allocations: 4 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.526e-05/0.844, allocations: 96.64 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.41e-07/0.844, allocations: 0 / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000299/0.8443, allocations: 63.92 kB / 1.173 GB, free: 12.43 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000746/0.8451, allocations: 0.7554 MB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.8454, allocations: 95.91 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8454, allocations: 0 / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.8455, allocations: 51.92 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.8457, allocations: 20.3 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.8477, allocations: 1.546 MB / 1.175 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.8481, allocations: 0.7002 MB / 1.176 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.274e-05/0.8481, allocations: 20.67 kB / 1.176 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.8482, allocations: 35.42 kB / 1.176 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.8482, allocations: 4 kB / 1.176 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.8681, allocations: 2.969 MB / 1.179 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.654, allocations: 10.25 kB / 1.179 GB, free: 6.223 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,dayCon.y Variables in the result:dayCon.lat,dayCon.lon,dayCon.timZon,dayCon.y,time