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/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.00142/0.00142, allocations: 107.2 kB / 16.45 MB, free: 6.035 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.001572/0.001572, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.468/1.468, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.245/3.245, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.72 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4042, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0022/0.4064, allocations: 0.7292 MB / 1.305 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.4087, allocations: 1.536 MB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.4088, allocations: 0 / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.4088, allocations: 3.938 kB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.409, allocations: 23.78 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.4095, allocations: 155.5 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.4097, allocations: 119.6 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.4098, allocations: 16.28 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.41, allocations: 47.89 kB / 1.307 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.4101, allocations: 55.75 kB / 1.307 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.4102, allocations: 12 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.4104, allocations: 95.92 kB / 1.307 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.4104, allocations: 23.97 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.4105, allocations: 43.8 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.4109, allocations: 203.2 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.4109, allocations: 0 / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4109, allocations: 4 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.4109, allocations: 0 / 1.307 GB, free: 14.49 MB / 1.014 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.0008472/0.4117, allocations: 426.9 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4118, allocations: 12.62 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.15e-05/0.4118, allocations: 38.73 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.4119, allocations: 8.891 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.4121, allocations: 180.2 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.566e-05/0.4122, allocations: 42.25 kB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.4122, allocations: 4.375 kB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.4124, allocations: 104.1 kB / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4124, allocations: 0 / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4125, allocations: 3.984 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4125, allocations: 0 / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.4126, allocations: 51.91 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/0.4134, allocations: 0.5127 MB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.4139, allocations: 139.7 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.414, allocations: 42.67 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.414, allocations: 8.047 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.4143, allocations: 121.8 kB / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.4143, allocations: 0 / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0003564/0.4147, allocations: 145.5 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.4147, allocations: 102.8 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4149, allocations: 126 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.4149, allocations: 33.7 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.415, allocations: 100.3 kB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.415, allocations: 27.81 kB / 1.309 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.4151, allocations: 29.7 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4153, allocations: 326.8 kB / 1.309 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.4154, allocations: 35.92 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.4154, allocations: 35.98 kB / 1.309 GB, free: 11.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.4156, allocations: 76.84 kB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4156, allocations: 4 kB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002689/0.4159, allocations: 135.9 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4159, allocations: 8 kB / 1.31 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4159, allocations: 0 / 1.31 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4159, allocations: 0 / 1.31 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4161, allocations: 19.98 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4161, allocations: 0 / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.105e-05/0.4162, allocations: 11.92 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4162, allocations: 8 kB / 1.31 GB, free: 11.31 MB / 1.014 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.0001252/0.4163, allocations: 132 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.4163, allocations: 7.953 kB / 1.31 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.4166, allocations: 122.1 kB / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4166, allocations: 0 / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4166, allocations: 0 / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.4166, allocations: 11.88 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.4168, allocations: 221.5 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.4168, allocations: 3.984 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.775e-05/0.4169, allocations: 20.25 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4169, allocations: 0 / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4169, allocations: 8 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.4169, allocations: 11.97 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4169, allocations: 0 / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.4172, allocations: 182.5 kB / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.4174, allocations: 101 kB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.4174, allocations: 4 kB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.4175, allocations: 8 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.4175, allocations: 11.92 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.4175, allocations: 11.98 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.112e-05/0.4176, allocations: 95.27 kB / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4176, allocations: 0 / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003035/0.4179, allocations: 59.81 kB / 1.311 GB, free: 10.21 MB / 1.014 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.0008459/0.4187, allocations: 0.7605 MB / 1.311 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.419, allocations: 95.83 kB / 1.312 GB, free: 9.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.419, allocations: 4 kB / 1.312 GB, free: 9.316 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.4191, allocations: 47.92 kB / 1.312 GB, free: 9.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.4193, allocations: 21.48 kB / 1.312 GB, free: 9.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.4214, allocations: 1.538 MB / 1.313 GB, free: 7.617 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.4218, allocations: 0.704 MB / 1.314 GB, free: 6.887 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.24e-05/0.4218, allocations: 16.3 kB / 1.314 GB, free: 6.875 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.4219, allocations: 35.42 kB / 1.314 GB, free: 6.844 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/0.4219, allocations: 0 / 1.314 GB, free: 6.844 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.4514, allocations: 2.995 MB / 1.317 GB, free: 3.992 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/8.683, allocations: 2.297 kB / 1.317 GB, free: 3.992 MB / 1.014 GB " [Timeout remaining time 291] (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/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 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.36021650582552]