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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 110.4 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 215.8 kB / 22.25 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.39/3.39, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 71.64 kB / 1.177 GB, free: 17.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4134, allocations: 180.2 MB / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002739/0.4162, allocations: 0.7328 MB / 1.354 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002564/0.4187, allocations: 1.638 MB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.4188, allocations: 0 / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.4189, allocations: 7.875 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.419, allocations: 11.88 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.4196, allocations: 171.4 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.4198, allocations: 123.6 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.42, allocations: 12.27 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.4202, allocations: 55.89 kB / 1.356 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.4203, allocations: 47.83 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.4204, allocations: 8 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.4207, allocations: 119.9 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.4207, allocations: 31.91 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.4208, allocations: 43.8 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.4212, allocations: 227.2 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4212, allocations: 0 / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4212, allocations: 3.938 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.4212, allocations: 0 / 1.356 GB, free: 5.379 MB / 1.045 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.0008685/0.4221, allocations: 361.6 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4222, allocations: 8.031 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.019e-05/0.4222, allocations: 42.75 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.4226, allocations: 28.86 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.4227, allocations: 114.4 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.4228, allocations: 59.97 kB / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.4229, allocations: 12.38 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.4231, allocations: 100.1 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4231, allocations: 8 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4231, allocations: 0 / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4231, allocations: 3.984 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.4232, allocations: 51.91 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008404/0.4241, allocations: 496.7 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.4246, allocations: 127.7 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.475e-05/0.4247, allocations: 46.66 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.4247, allocations: 7.938 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.425, allocations: 109.9 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.425, allocations: 0 / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003723/0.4254, allocations: 153.5 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.4255, allocations: 110.8 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.4256, allocations: 125.8 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.4257, allocations: 33.7 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.4257, allocations: 88.45 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.4258, allocations: 35.72 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.4258, allocations: 33.7 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.426, allocations: 322.9 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.4261, allocations: 39.97 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.4262, allocations: 39.98 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.4264, allocations: 78.47 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4264, allocations: 0 / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002734/0.4267, allocations: 129.5 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4267, allocations: 5.406 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4267, allocations: 4 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4267, allocations: 0 / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4269, allocations: 19.98 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4269, allocations: 4 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.427, allocations: 19.83 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.427, allocations: 7.984 kB / 1.359 GB, free: 2.336 MB / 1.045 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.0001203/0.4271, allocations: 125.7 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.4271, allocations: 7.953 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.4274, allocations: 122.1 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4274, allocations: 4 kB / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4274, allocations: 0 / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4274, allocations: 7.875 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.4277, allocations: 192.6 kB / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4277, allocations: 0 / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.4278, allocations: 23.98 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4278, allocations: 0 / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.4278, allocations: 4 kB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4278, allocations: 0 / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4278, allocations: 0 / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.4281, allocations: 185.6 kB / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.4282, allocations: 19.88 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.4282, allocations: 8 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.4283, allocations: 11.98 kB / 1.359 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.4283, allocations: 15.92 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.4284, allocations: 8 kB / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.139e-05/0.4284, allocations: 101.9 kB / 1.359 GB, free: 1.438 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4284, allocations: 0 / 1.359 GB, free: 1.438 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000351/0.4288, allocations: 71.69 kB / 1.36 GB, free: 1.367 MB / 1.045 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.0008774/0.4297, allocations: 0.7816 MB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.43, allocations: 91.89 kB / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.43, allocations: 0 / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.4301, allocations: 47.92 kB / 1.36 GB, free: 424 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.4303, allocations: 16.67 kB / 1.36 GB, free: 408 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.4324, allocations: 1.553 MB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.4328, allocations: 0.7002 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.984e-05/0.4329, allocations: 24.47 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.4329, allocations: 31.42 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.4329, allocations: 0 / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04653/0.4795, allocations: 3.389 MB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.83, allocations: 6 kB / 1.366 GB, free: 10.71 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.933382753981277]