Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001355/0.001355, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.001495/0.001495, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.23/3.23, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_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.002161/0.002161, allocations: 79.62 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3903, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002141/0.3924, allocations: 0.7262 MB / 1.321 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002432/0.3949, allocations: 1.626 MB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.3949, allocations: 0 / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.395, allocations: 3.938 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.3952, allocations: 31.78 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.3956, allocations: 163.4 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.3958, allocations: 115.7 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3959, allocations: 12.27 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.3961, allocations: 59.83 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3962, allocations: 51.75 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.3962, allocations: 12 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.3965, allocations: 123.9 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.3965, allocations: 23.98 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.3966, allocations: 51.78 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.3969, allocations: 215.2 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3969, allocations: 3.984 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3969, allocations: 0 / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3969, allocations: 0 / 1.324 GB, free: 140 kB / 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.0008095/0.3977, allocations: 438.8 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3978, allocations: 11.98 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/0.3978, allocations: 42.67 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003262/0.3982, allocations: 24.88 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3984, allocations: 180.3 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/0.3985, allocations: 34.25 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.3985, allocations: 8.375 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.3987, allocations: 112.1 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3987, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.3987, allocations: 7.984 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3987, allocations: 4 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.3989, allocations: 39.92 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000792/0.3997, allocations: 0.5205 MB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.4002, allocations: 135.7 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.4003, allocations: 42.59 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.4003, allocations: 80 / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.4005, allocations: 117.9 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.4005, allocations: 4 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003758/0.4009, allocations: 141.5 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/0.401, allocations: 114.7 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4011, allocations: 129.7 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.4011, allocations: 25.7 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.4012, allocations: 96.36 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.4013, allocations: 27.75 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.4013, allocations: 37.83 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.4015, allocations: 326.8 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.4016, allocations: 35.98 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.4017, allocations: 35.98 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.4019, allocations: 83.44 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4019, allocations: 0 / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002615/0.4022, allocations: 125.8 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4022, allocations: 4 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4022, allocations: 0 / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4022, allocations: 4 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.4024, allocations: 27.97 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4024, allocations: 3.938 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.4025, allocations: 19.81 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.4025, allocations: 4 kB / 1.327 GB, free: 12.91 MB / 1.029 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.0001149/0.4026, allocations: 127.6 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.4026, allocations: 11.94 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.4029, allocations: 110 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4029, allocations: 7.938 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4029, allocations: 0 / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4029, allocations: 7.922 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.4031, allocations: 221.5 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4031, allocations: 320 / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.37e-05/0.4032, allocations: 16 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4032, allocations: 4 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4032, allocations: 7.984 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.4032, allocations: 4 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4032, allocations: 4 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.4036, allocations: 172.9 kB / 1.327 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.4037, allocations: 105 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.4037, allocations: 7.938 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.4038, allocations: 7.984 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.4039, allocations: 23.92 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4039, allocations: 4 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.488e-05/0.404, allocations: 99.27 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.404, allocations: 0 / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003132/0.4043, allocations: 63.75 kB / 1.328 GB, free: 11.82 MB / 1.029 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.0008455/0.4051, allocations: 0.7882 MB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.4054, allocations: 87.91 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4054, allocations: 0 / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.4055, allocations: 55.84 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4057, allocations: 14.28 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.4079, allocations: 1.56 MB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.4082, allocations: 0.6963 MB / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.807e-05/0.4083, allocations: 20.41 kB / 1.331 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.4084, allocations: 35.42 kB / 1.331 GB, free: 8.414 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4084, allocations: 0 / 1.331 GB, free: 8.414 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.4364, allocations: 3.214 MB / 1.334 GB, free: 5.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/8.766, allocations: 10.28 kB / 1.334 GB, free: 5.332 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv --start-time 0 --stop-time 604800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.610718025825918]