Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006743/0.006743, allocations: 101.1 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 186.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 62.66 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2853, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00194/0.2873, allocations: 0.7379 MB / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.2894, allocations: 1.526 MB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.2895, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.2896, allocations: 3.938 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.2898, allocations: 27.78 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.2905, allocations: 155.5 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.2907, allocations: 123.7 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2909, allocations: 12 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.291, allocations: 47.84 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.2912, allocations: 55.81 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.2912, allocations: 12 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.2915, allocations: 91.92 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.2916, allocations: 27.91 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.2917, allocations: 51.78 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.292, allocations: 199.1 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.292, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.804e-06/0.292, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.292, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 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.0007654/0.2928, allocations: 423.1 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2929, allocations: 16.03 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.2929, allocations: 38.73 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.293, allocations: 8.844 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2931, allocations: 176.2 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.973e-05/0.2932, allocations: 38.27 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.2932, allocations: 4.375 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.2934, allocations: 112.1 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2935, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2935, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.2935, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.2936, allocations: 51.91 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.2943, allocations: 0.5127 MB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.2948, allocations: 135.7 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.2949, allocations: 46.66 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.2949, allocations: 11.88 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.2952, allocations: 109.9 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.2952, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000346/0.2955, allocations: 149.4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.2956, allocations: 106.9 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.2957, allocations: 125.8 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.2958, allocations: 33.7 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.2958, allocations: 92.33 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.2959, allocations: 35.61 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.2959, allocations: 33.7 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.296, allocations: 326.8 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.77e-05/0.2961, allocations: 35.98 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.2962, allocations: 35.98 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2964, allocations: 87.78 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2964, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002458/0.2967, allocations: 129.5 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2967, allocations: 10.03 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2967, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2967, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.2969, allocations: 23.98 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2969, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.213e-05/0.297, allocations: 19.86 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.297, allocations: 4 kB / 1.093 GB, free: 11.76 MB / 0.8575 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 9.472e-05/0.2971, allocations: 129.7 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.2971, allocations: 7.906 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.2974, allocations: 117.9 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2974, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2974, allocations: 4.234 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2974, allocations: 3.938 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.2976, allocations: 217.5 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2976, allocations: 3.984 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.46e-05/0.2977, allocations: 19.98 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2977, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2977, allocations: 4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2977, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2977, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.298, allocations: 182.6 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.2981, allocations: 96.94 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2981, allocations: 15.89 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.2982, allocations: 4 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.2983, allocations: 15.92 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2983, allocations: 8 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.2983, allocations: 106 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2983, allocations: 0 / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002845/0.2986, allocations: 59.92 kB / 1.094 GB, free: 10.68 MB / 0.8575 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.000639/0.2993, allocations: 0.7701 MB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.2995, allocations: 95 kB / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2996, allocations: 0 / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.2997, allocations: 55.91 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.2999, allocations: 15.94 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.3015, allocations: 1.538 MB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.3018, allocations: 0.6963 MB / 1.097 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.727e-05/0.3019, allocations: 16.55 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.302, allocations: 31.42 kB / 1.097 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.302, allocations: 0 / 1.097 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.3202, allocations: 2.961 MB / 1.1 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.929, allocations: 22.02 kB / 1.1 GB, free: 4.449 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 Buildings_9_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[529]=604800.000000 File[65]=16450.600000 " Variables in the reference:time,dayCon.y Variables in the result:time,dayCon.y,dayCon.lat,dayCon.lon,dayCon.timZon