Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.839/2.839, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 67.89 kB / 1.104 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.881/0.8838, allocations: 168.7 MB / 1.269 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002208/0.886, allocations: 0.7286 MB / 1.269 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.8882, allocations: 1.538 MB / 1.271 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.8883, allocations: 0 / 1.271 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.8883, allocations: 3.938 kB / 1.271 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.8885, allocations: 23.84 kB / 1.271 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.8889, allocations: 155.5 kB / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.8891, allocations: 119.6 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.8892, allocations: 19.92 kB / 1.271 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.8893, allocations: 55.84 kB / 1.271 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.8895, allocations: 47.83 kB / 1.271 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.8895, allocations: 8 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.8897, allocations: 103.9 kB / 1.271 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.8897, allocations: 27.91 kB / 1.271 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.8898, allocations: 43.84 kB / 1.272 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.8901, allocations: 201.1 kB / 1.272 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8901, allocations: 0 / 1.272 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8901, allocations: 3.938 kB / 1.272 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.8901, allocations: 0 / 1.272 GB, free: 2.145 MB / 0.9669 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.0007734/0.8909, allocations: 426.9 kB / 1.272 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8909, allocations: 8.031 kB / 1.272 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.891, allocations: 38.75 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.891, allocations: 8.891 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.8912, allocations: 180.2 kB / 1.272 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/0.8913, allocations: 38.27 kB / 1.272 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.8913, allocations: 12.38 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.8915, allocations: 104.1 kB / 1.272 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.8915, allocations: 0 / 1.272 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.8915, allocations: 0 / 1.272 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.8915, allocations: 0 / 1.272 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.8916, allocations: 51.91 kB / 1.273 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006965/0.8923, allocations: 0.5127 MB / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.8928, allocations: 135.7 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.8929, allocations: 46.66 kB / 1.273 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.8929, allocations: 0 / 1.273 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.8931, allocations: 117.9 kB / 1.273 GB, free: 264 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.8931, allocations: 0 / 1.273 GB, free: 264 kB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003508/0.8935, allocations: 145.5 kB / 1.273 GB, free: 112 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.8936, allocations: 118.8 kB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.8937, allocations: 125.8 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.8937, allocations: 33.7 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.8938, allocations: 88.55 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.8939, allocations: 31.73 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.8939, allocations: 37.64 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8941, allocations: 322.8 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.8942, allocations: 36.22 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.8943, allocations: 39.98 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.8944, allocations: 79.8 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8944, allocations: 0 / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002574/0.8947, allocations: 137.5 kB / 1.274 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.8947, allocations: 8 kB / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8947, allocations: 0 / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.8947, allocations: 0 / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.8949, allocations: 23.92 kB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8949, allocations: 0 / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.023e-05/0.8949, allocations: 19.83 kB / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.895, allocations: 7.984 kB / 1.275 GB, free: 14.95 MB / 0.9825 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 0.0001061/0.8951, allocations: 125.8 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.8951, allocations: 7.953 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.8953, allocations: 114 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.8954, allocations: 4 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8954, allocations: 0 / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.8954, allocations: 7.938 kB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.8956, allocations: 213.5 kB / 1.275 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8956, allocations: 4 kB / 1.275 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.806e-05/0.8957, allocations: 23.98 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8957, allocations: 0 / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.8957, allocations: 0 / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8957, allocations: 4 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8957, allocations: 0 / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.896, allocations: 182.6 kB / 1.275 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-05/0.8961, allocations: 104.9 kB / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.8961, allocations: 8 kB / 1.275 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.8962, allocations: 7.984 kB / 1.275 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.8962, allocations: 15.92 kB / 1.275 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.8962, allocations: 8.062 kB / 1.275 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.307e-05/0.8963, allocations: 99.27 kB / 1.275 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8963, allocations: 0 / 1.275 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002904/0.8966, allocations: 59.8 kB / 1.275 GB, free: 13.87 MB / 0.9825 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.0007259/0.8973, allocations: 0.7646 MB / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.8976, allocations: 91.91 kB / 1.276 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8976, allocations: 0 / 1.276 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.8977, allocations: 47.92 kB / 1.276 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.8979, allocations: 28.28 kB / 1.276 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.8998, allocations: 1.553 MB / 1.278 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.9001, allocations: 0.7079 MB / 1.279 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.702e-05/0.9002, allocations: 15.8 kB / 1.279 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.9002, allocations: 31.42 kB / 1.279 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of SimCode: time 8.11e-07/0.9002, allocations: 0 / 1.279 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.927, allocations: 2.991 MB / 1.282 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/9.157, allocations: 4.688 kB / 1.282 GB, free: 7.645 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.480664728209376]