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.001942/0.001942, 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.002762/0.002762, allocations: 211.2 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.785 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.41/3.41, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002122/0.002122, allocations: 72.66 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3732, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002176/0.3754, allocations: 0.726 MB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.3779, allocations: 1.542 MB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.378, allocations: 0 / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.378, allocations: 7.875 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.3782, allocations: 19.84 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.3788, allocations: 171.4 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.379, allocations: 115.6 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3791, allocations: 20.25 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.3793, allocations: 47.86 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3794, allocations: 47.81 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.3795, allocations: 12 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.3798, allocations: 111.9 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.3798, allocations: 31.84 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.3799, allocations: 43.84 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.3803, allocations: 231.2 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3803, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3803, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3803, allocations: 0 / 1.366 GB, free: 11 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.0007456/0.381, allocations: 357.6 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3811, allocations: 12.03 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.3811, allocations: 34.75 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.3814, allocations: 28.88 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3816, allocations: 122.4 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.493e-05/0.3816, allocations: 59.97 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3817, allocations: 8.375 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3819, allocations: 104.1 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3819, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3819, allocations: 4 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.3819, allocations: 8 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.382, allocations: 43.91 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.3827, allocations: 472.2 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.3832, allocations: 135.8 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.3833, allocations: 42.66 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.3833, allocations: 7.938 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.3836, allocations: 117.9 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3836, allocations: 0 / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003595/0.3839, allocations: 145.5 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.384, allocations: 106.8 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3841, allocations: 133.7 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3842, allocations: 29.7 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.3842, allocations: 88.42 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.3843, allocations: 31.73 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.3843, allocations: 37.66 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3845, allocations: 322.8 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.3846, allocations: 40.11 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.265e-05/0.3847, allocations: 35.98 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3849, allocations: 76.78 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3849, allocations: 0 / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002707/0.3851, allocations: 135.8 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3852, allocations: 4 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.3852, allocations: 0 / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3852, allocations: 4 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3853, allocations: 15.98 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3853, allocations: 7.938 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.164e-05/0.3854, allocations: 19.88 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3854, allocations: 7.984 kB / 1.369 GB, free: 7.984 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.0001089/0.3855, allocations: 121.8 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3856, allocations: 7.953 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.3858, allocations: 113.9 kB / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3858, allocations: 4.234 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3858, allocations: 0 / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3858, allocations: 11.92 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.386, allocations: 180.6 kB / 1.369 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.386, allocations: 0 / 1.369 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.3861, allocations: 20.31 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3861, allocations: 3.984 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3862, allocations: 8 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3862, allocations: 0 / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3862, allocations: 7.875 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.3865, allocations: 178.7 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.3865, allocations: 23.88 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.3865, allocations: 4 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.3866, allocations: 11.98 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.3867, allocations: 19.92 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3867, allocations: 4 kB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.6e-05/0.3868, allocations: 100.3 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3868, allocations: 0 / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003195/0.3871, allocations: 67.73 kB / 1.37 GB, free: 7.023 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.0007393/0.3878, allocations: 0.7738 MB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.3881, allocations: 94.42 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3881, allocations: 0 / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3882, allocations: 51.92 kB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.3884, allocations: 15.94 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3904, allocations: 1.553 MB / 1.372 GB, free: 4.414 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.286e-05/0.3905, allocations: 85.31 kB / 1.372 GB, free: 4.309 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.388e-05/0.3906, allocations: 20.3 kB / 1.372 GB, free: 4.289 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.3906, allocations: 35.42 kB / 1.372 GB, free: 4.254 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.3906, allocations: 0 / 1.372 GB, free: 4.254 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.4229, allocations: 3.782 MB / 1.376 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.75, allocations: 7.094 kB / 1.376 GB, free: 0.6133 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.80137733789161]