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.001801/0.001801, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002252/0.002252, allocations: 212 kB / 22.24 MB, free: 5.262 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.781 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.505/3.505, allocations: 0.5107 GB / 0.8158 GB, free: 17.74 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.002092/0.002092, allocations: 66.91 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.373, allocations: 181.8 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002107/0.3751, allocations: 0.7221 MB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.3774, allocations: 1.538 MB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.3774, allocations: 7.938 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.3775, allocations: 3.938 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.3776, allocations: 19.8 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.3781, allocations: 171.4 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.3783, allocations: 115.7 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3784, allocations: 12.27 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3786, allocations: 59.83 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.405e-05/0.3786, allocations: 39.84 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.3787, allocations: 15.94 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.3789, allocations: 119.9 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.3789, allocations: 27.92 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.379, allocations: 39.8 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.3793, allocations: 227.3 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3793, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3793, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3793, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 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.0007379/0.3801, allocations: 361.6 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3801, allocations: 8.031 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.3802, allocations: 34.75 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/0.3805, allocations: 32.86 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3806, allocations: 122.4 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/0.3807, allocations: 59.97 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.3807, allocations: 8.375 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.3809, allocations: 100.2 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.381, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.381, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.381, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3811, allocations: 51.89 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/0.3818, allocations: 484.1 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.3823, allocations: 127.7 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.3824, allocations: 42.66 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3824, allocations: 4 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.3826, allocations: 121.8 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3826, allocations: 3.938 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003543/0.383, allocations: 141.5 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.3831, allocations: 106.8 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3832, allocations: 129.8 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3832, allocations: 29.7 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.3833, allocations: 88.42 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.3833, allocations: 35.8 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.3834, allocations: 33.7 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3836, allocations: 322.8 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-05/0.3836, allocations: 40.11 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-05/0.3837, allocations: 43.92 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.3839, allocations: 74.75 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3839, allocations: 0 / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002494/0.3842, allocations: 129.6 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3842, allocations: 4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3842, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3842, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3843, allocations: 23.92 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3843, allocations: 0 / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.686e-05/0.3844, allocations: 35.75 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3844, allocations: 0 / 1.369 GB, free: 7.961 MB / 1.061 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.0001054/0.3845, allocations: 122.9 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.3846, allocations: 7.953 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.3848, allocations: 114.1 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3848, allocations: 8.031 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3849, allocations: 0 / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3849, allocations: 3.938 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.3851, allocations: 180.6 kB / 1.369 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3851, allocations: 7.938 kB / 1.369 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3852, allocations: 24.23 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3852, allocations: 4 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3852, allocations: 0 / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.3852, allocations: 8 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3852, allocations: 0 / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.3855, allocations: 174.7 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.3855, allocations: 27.83 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3856, allocations: 4 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.3856, allocations: 11.98 kB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.3857, allocations: 23.86 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3857, allocations: 4 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.101e-05/0.3858, allocations: 102.6 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3858, allocations: 0 / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003092/0.3861, allocations: 67.73 kB / 1.37 GB, free: 6.996 MB / 1.061 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.0007757/0.3869, allocations: 0.7762 MB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.3871, allocations: 91.89 kB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3871, allocations: 0 / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/0.3872, allocations: 51.92 kB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.3874, allocations: 19.92 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.3893, allocations: 1.544 MB / 1.372 GB, free: 4.391 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.398e-05/0.3894, allocations: 85.31 kB / 1.372 GB, free: 4.285 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.724e-05/0.3895, allocations: 24.28 kB / 1.372 GB, free: 4.262 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.3895, allocations: 35.52 kB / 1.372 GB, free: 4.227 MB / 1.061 GB Notification: Performance of SimCode: time 4.4e-07/0.3895, allocations: 0 / 1.372 GB, free: 4.227 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.4219, allocations: 3.773 MB / 1.376 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.8, allocations: 7.188 kB / 1.376 GB, free: 0.5898 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv --start-time 0 --stop-time 604800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 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.csv","/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: 19.260851302649826]